DreamPiggy
78fe2284e0
Keep the dSYM when building XCFramework
2024-05-08 16:48:56 +08:00
DreamPiggy
48bb2c9604
Update the Github CI for release
2024-05-08 11:30:52 +08:00
DreamPiggy
619c5e87c6
Merge pull request #3711 from dreampiggy/project/self-sign-xcframework
...
Added GitHub action to release XCFramework which is self-signed
2024-05-07 20:38:05 +08:00
DreamPiggy
9ce5242e89
Added GitHub action for release XCFramework
2024-05-07 20:34:48 +08:00
DreamPiggy
201096d7bf
Added self-sign for XCFramework
...
The private key is only available during GitHub Action release pipeline
2024-05-07 20:14:48 +08:00
DreamPiggy
50a3c9159b
Remove the override of Xcode project codesign config
2024-05-07 19:33:19 +08:00
DreamPiggy
97357c064b
Merge pull request #3710 from dreampiggy/ci/fix_watchos
...
Try to fix the GitHub CI again because of macOS 14.4.1
2024-05-07 19:32:53 +08:00
DreamPiggy
11dcb29b4f
Ignore the HEIC encoding unit test on GitHub CI environment
...
Seems they use VM solution and breaks Apple's ImageIO HEIC encoding
2024-05-07 18:50:33 +08:00
DreamPiggy
8fec5b7003
Try to fix the GitHub CI again because of macOS 14.4.1
2024-05-07 15:36:18 +08:00
DreamPiggy
cb75c084c0
Merge pull request #3708 from dreampiggy/bugfix/sdanimatedimage_check
...
Fix some regression when SDAnimatedImage created with static format like JPEG
2024-05-07 15:15:36 +08:00
DreamPiggy
753649217a
Added the new test case for fixed SDAnimatedImage behavior
2024-05-06 16:12:53 +08:00
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