Tim Johnsen
dcd0c46b7f
Update SDWebImageTestCache.m
...
Co-authored-by: DreamPiggy <lizhuoli1126@126.com>
2024-10-11 20:21:03 -07:00
Tim Johnsen
e524ca0310
Update default disk cleaning method to use content access date.
...
This is possibly controversial, but I suspect most clients of SDWebImage would prefer files purged based on their last time of use instead of the date when they were downloaded.
2024-10-09 10:13:17 -07:00
Tim Johnsen
63c8d708d0
Update last access time of images when loaded from disk.
...
The OS doesn't automatically bump access time when reading files, so LRU would effectively be equivalent to "least recently downloaded" in SDWebImage.
2024-10-09 10:13:15 -07:00
DreamPiggy
d5732787b7
Merge pull request #3749 from dreampiggy/feature/blend_mode
...
[Behavior changes] Add blend mode to UIImage+Transform tint color API, default blend mode changed to sourceIn
2024-10-08 19:30:33 +08:00
DreamPiggy
05e1840538
Behavior changes: change the default tint transformer to use `sourceIn` instead of `sourceAtop`
...
This matches the Apple UIKit's naming and behavior
2024-10-08 19:22:46 +08:00
DreamPiggy
7892f4ca20
Fix some CIFilter implementation
2024-10-08 17:40:50 +08:00
DreamPiggy
3c89a092cd
Added the blend mode to transformer API as well
...
Update unit tests
2024-10-08 17:40:50 +08:00
DreamPiggy
099371823e
Add blend mode to UIImage+Transform tint color API
...
Also works for CIFilter variant
2024-10-08 17:40:50 +08:00
DreamPiggy
c8f74d2de0
Fix the test case on iOS 18.0 simulator
2024-10-08 17:39:50 +08:00
YoloMao
a261180b95
build: download visionOS SDK before CI/CD ( #3757 )
...
* build: download visionOS SDK before CI/CD
* Revert "build: download visionOS SDK before CI/CD"
This reverts commit ddbc45f524
.
* build: switch to macos-15 runner image
* build: xcode version limit to 16.0
2024-10-08 15:04:55 +08:00
DreamPiggy
d68b92db85
Update the test case
2024-08-23 10:23:09 +08:00
DreamPiggy
8a1be70a62
Bumped version to 5.19.7
...
update CHANGELOG
2024-08-22 18:33:00 +08:00
DreamPiggy
ab914e712c
Merge pull request #3744 from dreampiggy/bugfix/disk_cache_nil_for_EOF_url
...
Fix the issue that some URL which has percent-encoding with \0 will cause nil cache path
2024-08-22 18:00:17 +08:00
DreamPiggy
d42cc279f4
Fix the issue that some URL which has percent-encoding with \0 will cause nil cache path
...
Use the more robust way to calculate cache path, still keep the exists behavior
2024-08-22 17:39:58 +08:00
DreamPiggy
99acb03c96
Merge pull request #3740 from zkforever/fixCrash
...
Fix the crash when some special urls cause the cache path return nil and crash
2024-08-22 16:48:29 +08:00
DreamPiggy
0a4f92c59a
Merge pull request #3743 from dreampiggy/bugfix/fix_jfif_orientation_new_solution
...
Fix the thumbnail decoding on JPEG which contains EXIF orientation, use the new way to workaround JFIF bug
2024-08-22 15:28:01 +08:00
DreamPiggy
95401e3cca
Use the new way to detect JFIF, and do not apply EXIF orientation to workaround Apple's bug
2024-08-21 20:35:42 +08:00
钟铿
2a19d9c36c
fix a crash bug when image url is unavailable
2024-08-14 15:01:46 +08:00
DreamPiggy
6d098eeb3b
Updated README about default animated image format
2024-08-13 17:38:16 +08:00
DreamPiggy
5191b801ac
Bumped version to 5.19.6
...
update CHANGELOG
2024-08-07 15:51:07 +08:00
DreamPiggy
87b7a9a45c
Merge pull request #3736 from dreampiggy/performance/better_lazy_cgimage_detection
...
Use the better way to detect lazy/non-lazy CGImage. Only do force decoding for lazy image (avoid thumbnail image been decoded twice)
2024-08-07 15:44:01 +08:00
DreamPiggy
0df663ca95
Update the test case
2024-08-07 14:47:19 +08:00
DreamPiggy
ecedea2e06
Use the better way to detect lazy/non-lazy CGImage. Only do force decoding for lazy image
...
This effect the thumbnail decoding (which produce non-lazy CGImage, but accidentally been force decoded)
2024-08-02 17:35:35 +08:00
DreamPiggy
2b56a1843c
Merge pull request #3735 from dreampiggy/bugfix/image_renderer
...
Remove the unused code for iOS 9- polyfill
2024-08-02 17:23:36 +08:00
DreamPiggy
600e1b68af
Remove the unused code for iOS 9- polyfill
2024-08-02 16:23:04 +08:00
DreamPiggy
49a2bbaa7a
Revert the test case url
2024-07-26 14:49:14 +08:00
DreamPiggy
86e9185ef4
Bumped version to 5.19.5
...
update CHANGELOG
2024-07-24 17:33:10 +08:00
DreamPiggy
02dde95720
Merge pull request #3728 from dreampiggy/test/heic_encoding
...
Try to re-enable the HEIC encoding test and visionOS xctest
2024-07-24 17:24:42 +08:00
DreamPiggy
c3b5e5f034
Temp dsiable the test48CacheUseConcurrentIOQueue
...
Seems still buggy on GitHub CI action
2024-07-24 15:14:42 +08:00
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