DreamPiggy
368723f8ae
Fix some random unit test failure
2024-07-24 14:54:20 +08:00
DreamPiggy
11271d14ce
Use file url for some tests to avoid network issue
2024-07-23 16:51:25 +08:00
DreamPiggy
69cca49687
Do a test again by only override the `kCGImagePropertyOrientation` when the orientation is not UP
...
This may remove the strange warning log from CoreMedia system framework, see #3727
2024-07-23 15:48:32 +08:00
DreamPiggy
ce406a2b2d
Disable the heics animated encoding on macOS Virtualization only (still broken)
...
Rename this file extension to heics to match the standard
2024-07-23 15:48:32 +08:00
DreamPiggy
f6771d8fcd
Try to re-enable the HEIC encoding test and visionOS xctest
2024-07-23 14:41:04 +08:00
DreamPiggy
cba8ec9667
Merge pull request #3727 from dreampiggy/bugfix/heics_animated_encoding
...
Fix our HEIC coder to encode `timed image sequences` instead of `non-timed image gallery` for HEIC encoding
2024-07-23 14:32:15 +08:00
DreamPiggy
b26c9623f1
Merge pull request #3731 from dreampiggy/project/UIImage_subclass_nonisolated
...
Use the new macro from Swift compiler and SDK to mark the UIImage/UIImageView subclass matching what they designed to be
2024-07-23 14:31:28 +08:00
DreamPiggy
ed17b02a5f
Use the new macro from Swift compiler and SDK to mark the UIImage/UIImageView subclass matching what they designed to be
...
UIImage subclass should be thread-safe
UIImageView subclass should be on MainActor only
2024-07-22 20:59:53 +08:00
DreamPiggy
11dc8e88d5
Fix our HEIC coder to encode `timed image sequences` instead of `non-timed image gallery` for HEIC encoding
...
Also, some little behavior changes, the `format` arg in animated coder does not help for anything.
2024-07-16 15:45:26 +08:00
DreamPiggy
be0bcd7823
Bumped version to 5.19.4
...
update CHANGELOG
2024-07-01 19:03:47 +08:00
DreamPiggy
6b629e1727
Merge pull request #3724 from dreampiggy/bugfix/vector_sdanimatedImage
...
Fix the issue that SDAnimatedImage breaks the vector on macOS
2024-07-01 19:01:14 +08:00
DreamPiggy
99dc9a8e61
[NFC] Fix the variable naming
2024-07-01 18:28:20 +08:00
DreamPiggy
bcbe72a77f
Added test case about SVG image
2024-07-01 18:26:21 +08:00
DreamPiggy
e665fb52d6
Fix the issue that SDAnimatedImage breaks the vector on macOS
2024-07-01 18:21:01 +08:00
DreamPiggy
b8523c1642
Bumped version to 5.19.3
...
update CHANGELOG
2024-05-30 14:43:22 +08:00
DreamPiggy
5f599018b1
Merge pull request #3716 from dreampiggy/bugfix/sd_svg_macos
...
Fix the detection of SVGImageRep on macOS AppKit
2024-05-30 14:33:42 +08:00
DreamPiggy
095fc63f8a
Fix the detection of SVGImageRep on macOS AppKit
2024-05-30 11:34:53 +08:00
DreamPiggy
a936e64ab1
Merge pull request #3715 from YoloMao/chore/macro_platform_name
...
chore: use macos platform name with-in API_AVAILABLE macro
2024-05-17 12:07:44 +08:00
YoloMao
ed281e3ea1
chore: use macos platform name with-in API_AVAILABLE macro
2024-05-17 11:38:42 +08:00
DreamPiggy
b5cbc33fb2
Update README.md
...
Added the fingerprint in README, so it's no need to download and import the cert to verify
2024-05-08 19:08:00 +08:00
DreamPiggy
5642d1ffe3
Fix the symbolic link issue in XCFramework
2024-05-08 18:17:25 +08:00
DreamPiggy
905072adc8
Update the README about canonical binary XCFramework
2024-05-08 17:54:25 +08:00
DreamPiggy
3d7b0038b8
Fix the CocoaPods podspec when using SDWebImage/Core only
...
Which will cause the resource bundle missing
2024-05-08 17:48:24 +08:00
DreamPiggy
ad555bbdd9
Bumped version to 5.19.2
...
update CHANGELOG
2024-05-08 17:36:20 +08:00
DreamPiggy
b8b147d752
Merge pull request #3712 from dreampiggy/bugfix/unit_test_macos
...
Fix that `colorSpaceGetDeviceRGB` cache the color space even when active display changed
2024-05-08 17:03:04 +08:00
DreamPiggy
b2d6372254
Fix the unit test on macOS
2024-05-08 17:01:08 +08:00
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