DreamPiggy
2c9deffdf2
Update the behavior for SDAnimatedImageView for animated image
...
This should still be compatible for custom image class like YYPlugin
2024-05-06 16:01:06 +08:00
DreamPiggy
7bf6a59524
Update the behavior for `SDScaledImageForScaleFactor` on animated image
2024-05-06 16:01:04 +08:00
DreamPiggy
fb7ded8066
Update the behavior about `SDAnimatedImage` for the category metadata
...
Now `SDAnimatedImage` can be static image, so some check is not correct
2024-05-06 16:00:18 +08:00
zhaixian
e55cb041d0
Fix typo in SDImageCache.m ( #3705 )
...
* Fix typo in SDImageCache.m
* Fix typo in SDImageCache.m
2024-04-29 00:01:09 +08:00
DreamPiggy
ea2e3d5deb
Fix the wrong Swift syntax in documentation
2024-04-26 16:53:54 +08:00
DreamPiggy
f6afa01329
Bumped version to 5.19.1
...
update CHANGELOG
2024-03-26 17:22:22 +08:00
ChengzhiHuang
d5e3e7f7c5
Replace NSFileManager.enumeratorAtPath with enumeratorAtURL for performance and RAM saving ( #3690 )
...
* fix #3689
1. repalce @selector(enumeratorAtURL:) with @selector(enumeratorAtURL:)
2. replace ioQueueAttributes from DISPATCH_QUEUE_SERIAL to DISPATCH_QUEUE_SERIAL_WITH_AUTORELEASE_POOL >= iOS 10
* fix: remove NSDirectoryEnumerationProducesRelativePathURLs option
* feat: replace enumeratorAtPath:
* fix: update test44DiskCacheMigrationFromOldVersion
---------
Co-authored-by: huangchengzhi <huangchengzhi@bytedance.com>
2024-03-26 17:15:42 +08:00
DreamPiggy
b156318507
Allows the transformer to preserve the UIImage metadata like image format ( #3688 )
...
* Allows the transformer to preserve the UIImage metadata like image format
This can make it by defaults to still use JPEG encoding for JPEG thumbnail image
* Update the test case for preserveImageMetadata
* Fix the `sd_isTransformed` metadata
2024-03-25 16:57:35 +08:00
DreamPiggy
b557de276d
Update test case function `SDAssertCGImagePixelFormatEqual` to avoid assert on iOS 17.0
2024-03-25 15:43:13 +08:00
aasdsjk
98d058a1ea
url is kind of NSString and shouldUseWeakMemoryCache is YES, APP will crash. ( #3686 )
...
* NSString will crash
* unit test
* unit test opt
---------
Co-authored-by: songjk <fusheng@douyu.tv>
2024-03-14 15:20:11 +08:00
DreamPiggy
db1efed37e
Update README.md about JPEG-Xl
...
Added coder description for JPEG-XL
2024-02-29 01:30:33 +08:00
DreamPiggy
e7329c6fb6
Merge pull request #3683 from adamwangxx/master
...
mark `SDWebImageCacheKeyFilter` default initializer unavailable & add missing default case of `SDCallbackQueue` sync/async function
2024-02-28 12:43:38 +08:00
Adam
66a62e189e
code gardening codebase with init/new pair
2024-02-27 20:22:22 +08:00
Adam
a8c61e21f4
add missing default case of `SDCallbackQueue` sync/async function
2024-02-27 20:06:34 +08:00
Adam
bc23f12ecb
mark SDWebImageCacheKeyFilter default initializer unavailable
2024-02-27 20:06:34 +08:00
DreamPiggy
74fa16f4d3
Merge pull request #3684 from dreampiggy/test/fix
...
Fix the unit test `test31ThatMultipleRequestForSameURLFailedCallback`
2024-02-27 18:07:48 +08:00
DreamPiggy
f761fc7e7b
Fix the unit test `test31ThatMultipleRequestForSameURLFailedCallback`
2024-02-27 14:45:57 +08:00
DreamPiggy
3565eb1018
Update the github action for codecov flag
2024-02-24 17:38:51 +08:00
DreamPiggy
9f3fe7940d
Update the README.md for visionOS package manager support
2024-02-24 17:33:24 +08:00
DreamPiggy
73b9397cfb
Bumped version to 5.19.0
...
update CHANGELOG
2024-02-24 17:16:02 +08:00
DreamPiggy
750b3f2a24
Bumped version to 5.18.12
...
update CHANGELOG
2024-02-24 17:08:46 +08:00
DreamPiggy
00d58fa58f
Merge pull request #3680 from dreampiggy/feature/wait_transition
...
Added `SDWebImageWaitTransition` to wait for transition finished and then callback `completedBlock`
2024-02-24 17:06:37 +08:00
DreamPiggy
8408b79cb3
Added `SDWebImageWaitTransition` to wait for transition finished and then callback `completedBlock`
...
This can solve the simple case when people want to do another transition inside completedBlock and mass-up the UI status
2024-02-24 16:57:20 +08:00
DreamPiggy
7f05e213a9
Merge pull request #3679 from dreampiggy/ci/visionOS
...
[github-action] Try to workaround visionOS simulator bug in unit tests
2024-02-24 15:56:06 +08:00
DreamPiggy
4bb2a0e124
Disable visionOS unit test until Apple or GitHub Action fix the issue :(
2024-02-24 15:29:12 +08:00
DreamPiggy
684efe0ccd
[github-action] Change to build and test-without-building
2024-02-24 15:19:19 +08:00
DreamPiggy
a22e8416af
[github-action] Try to workaround visionOS simulator bug in unit tests
...
Seems need to boot the simulator firstly, other platforms does not has this issue
2024-02-24 14:59:59 +08:00
DreamPiggy
963539caa6
Merge pull request #3654 from dreampiggy/bugfix/operation_key_deprecate_api
...
Formally deprecate `sd_cancelCurrentImageLoad`, which cause misunderstanding on UIImageView category
2024-02-24 14:22:06 +08:00
DreamPiggy
12a7c99687
Update test case
2024-02-24 14:20:05 +08:00
DreamPiggy
2424848c92
Formally deprecate `sd_cancelCurrentImageLoad`, which cause misunderstanding on UIImageView category
...
Use `sd_cancelLatestImageLoad` instead
2024-02-24 14:18:46 +08:00
DreamPiggy
9953745d94
Merge pull request #3678 from dreampiggy/bugfix/16bit-png-workaround-bug
...
Fix the issue that iOS 17 indexed PNG workaround breaks the 16bit RGBA PNG
2024-02-24 14:09:04 +08:00
DreamPiggy
4a49e9a02a
[github-action] The unit tests fail for one platform should not cancel another one
2024-02-24 13:26:56 +08:00
DreamPiggy
d26ed45dd0
[github-action] Change the github action to split unit test into 4 jobs and run in parallel
2024-02-24 13:21:20 +08:00
DreamPiggy
64d12968fd
Remove the SDWebImageWebPCoder to its own repo
2024-02-24 12:43:48 +08:00
DreamPiggy
c99b60eed0
Fix the unit test compile issue
...
Fix the webp unit test for visionOS
2024-02-23 18:39:24 +08:00
DreamPiggy
da55e08994
Added test case about RGBA16 PNG
2024-02-23 16:24:37 +08:00
DreamPiggy
3e553d1efe
Fix the issue that iOS 17 indexed PNG workaround breaks the 16bit RGBA PNG
2024-02-23 16:24:37 +08:00
DreamPiggy
af600c063e
Merge pull request #3677 from dreampiggy/ci/macos14
...
[github action] Bumped to macos-14 and remove the unused visionOS download toolchain steps
2024-02-23 16:20:32 +08:00
DreamPiggy
23b0751ac8
[github action] Bumped to macos-14 and remove the unused visionOS download toolchain steps
2024-02-23 16:16:14 +08:00
DreamPiggy
80c8b2023a
Merge pull request #3673 from dreampiggy/project/visionos_cocoapods
...
[Part 2]Added the official visionOS support with CocoaPods, include Demo/Tests/CI
2024-02-13 15:45:08 +08:00
DreamPiggy
c349d78ff9
Upgrade the test case because of simulator version upgrade
2024-02-13 15:16:22 +08:00
DreamPiggy
b11493f764
Bumped version to 5.18.11
...
update CHANGELOG
2024-02-13 14:54:07 +08:00
DreamPiggy
6cab6ca6be
[CI] Upgrade the Demo to override the minOS of macOS (the i386 is no longer needed)
...
Split the github action
2024-02-13 14:46:53 +08:00
DreamPiggy
288305e9c1
Use the tricks to run visionOS simulator on x86_64 github action runner
2024-02-13 13:48:13 +08:00
DreamPiggy
aaad37213b
Fix the wrong changes for tvOS unit tests
2024-02-13 13:12:02 +08:00
DreamPiggy
71b3d01fd3
Update the GitHub actions to build visionOS Demo/Tests/Framework
2024-02-13 13:07:53 +08:00
DreamPiggy
01de674a79
Fix some strange behavior in visionOS, all tests passed
2024-02-13 12:54:09 +08:00
DreamPiggy
ef399a53f4
Added visionOS official unit tests
...
Since the KVOController/Expecta is no longer maintained, I have to copy the podspec and modify to add visionOS support
2024-02-13 11:53:26 +08:00
DreamPiggy
f2936fc4b2
Merge pull request #3672 from adamwangxx/master
...
add missing break keyword while converting NSData to SDImageFormat
2024-02-13 11:01:20 +08:00
Adam
de88563c18
add missing break keyword to sd_imageFormatForImageData function while converting NSData to SDImageFormat
2024-02-13 10:54:16 +08:00