DreamPiggy
1fa07b7fd3
Merge pull request #2999 from dreampiggy/bugfix_prefetcher_cancel_hung
...
Fix the issue that NSOperation conforms to `SDWebImageOperation` check failed. And fix the SDAsyncBlockOperation cancel logic
2020-05-06 21:17:22 +08:00
DreamPiggy
fe730cc7e4
Fix the deadlock by using the two different semaphore, the `@synchronized` can not represent two pointer array lock and may be entered twice
2020-05-06 16:13:32 +08:00
DreamPiggy
54771ceb22
Fix the wrong subclass which does not override `isConcurrent` method
2020-05-06 10:32:35 +08:00
DreamPiggy
f51992cfd6
Mark the `SDAsyncBlockOperation` safe using the lock and correct override method
2020-04-30 19:19:55 +08:00
DreamPiggy
974c3ff4ad
Update the test case to ensure thi silly problem will not occur again :)
2020-04-30 18:54:12 +08:00
DreamPiggy
4173f9f3c1
Fix the issue that NSOperation conforms to `SDWebImageOperation` check failed. And fix the SDAsyncBlockOperation cancel logic
2020-04-30 18:50:18 +08:00
DreamPiggy
3d1abaee82
Add the test case `test15ThatOriginalQueryCacheTypeWork` about original cache key and transformer
2020-04-29 22:11:28 +08:00
DreamPiggy
0ba0aaca34
Added the API to remove failed URLs from black list, since now we populate the error code and user can know which URL get blocked
2020-04-29 21:49:48 +08:00
DreamPiggy
0dd1d42397
Mark the black list error formal error code (which previouslly use `SDWebImageErrorInvalidURL`)
2020-04-29 21:47:16 +08:00
DreamPiggy
d43e0d26f7
Update the comments and coding style about the original cache type feature
2020-04-29 21:34:23 +08:00
DreamPiggy
3b088e7260
Merge pull request #2992 from ZXIOU/addQuaryOriginalChcheForTransformedImage
...
Add quary original chche for transformed image
2020-04-29 20:19:10 +08:00
DreamPiggy
8323aa7564
Merge pull request #2985 from dreampiggy/feature_convient_mac_transition
...
Added the convenient transition options for macOS user. Deprecate the old timingFunction, which can use System API to achieve
2020-04-29 20:10:00 +08:00
zxiou
ee18f7f55d
Make some simple logical adjustments
2020-04-29 16:21:32 +08:00
DreamPiggy
e85beab792
Merge pull request #2990 from dreampiggy/feature_convenient_header
...
Add the convenient request/response modifier, which provide HTTP header directly
2020-04-27 15:48:40 +08:00
DreamPiggy
cc3f03dfa4
Add the test case about conveniences modifier, rename the category name
2020-04-27 12:10:56 +08:00
zxiou
a84ade991c
fix quary original cache for transformed image instead of downloadingq
2020-04-26 17:41:45 +08:00
Numb
9e3bcf19e3
Merge pull request #1 from SDWebImage/master
...
update the latest code
2020-04-26 17:36:18 +08:00
DreamPiggy
c4aaa8c63c
Merge pull request #2986 from dreampiggy/feature_pass_set_operation_key
...
Feature pass the set operation key into context option from upstream. Fix the potential retain cycle if user use custom manager
2020-04-26 13:45:04 +08:00
DreamPiggy
783353bfe9
Update the convienient API using the Category, actually most use case is HTTP request, data and file URL are rare
2020-04-24 18:54:16 +08:00
DreamPiggy
fb517edf37
Use the String instead of CFNetwork symbol, seems not visible on watchOS ;)
2020-04-24 18:13:26 +08:00
DreamPiggy
484f6f422c
Add the only headers arg convenience initializer
2020-04-24 12:19:51 +08:00
DreamPiggy
6379dfc58b
Add the convenient request/response modifier, which provide HTTP header directly, don't need to repeat the code
2020-04-24 12:04:54 +08:00
DreamPiggy
11754268f9
Update the readme about the SDWebImage Architecture Analysis
2020-04-21 21:02:35 +08:00
DreamPiggy
f9572b72e1
Merge branch '5.7.x' of https://github.com/SDWebImage/SDWebImage
2020-04-21 18:21:37 +08:00
DreamPiggy
ca970aeace
Merge pull request #2988 from dreampiggy/encoding_options_embed_thumbnail
...
Feature: Encoding options supports embed thumbnail (works for JPEG/HEIF/AVIF)
2020-04-21 18:19:56 +08:00
DreamPiggy
39370d1af8
Bumped version to 5.7.3
2020-04-21 17:52:10 +08:00
DreamPiggy
9a75441634
Fix test case compile issue on macOS
2020-04-21 17:49:40 +08:00
DreamPiggy
d76fb76e0d
Added the test cases`test19ThatEmbedThumbnailHEICWorks` to ensure the embed thumbnail works
2020-04-21 13:50:58 +08:00
DreamPiggy
f84678a44d
Add the support for embed thumbnail for JPEG/HEIF/AVIF
2020-04-21 13:50:58 +08:00
DreamPiggy
8d1d0b0802
Merge pull request #2989 from dreampiggy/bugfix_encoding_options_imageio
...
Fix the encoding options which does not passthrough the correct value to ImageIO
2020-04-21 13:48:48 +08:00
DreamPiggy
816329f403
Fix the previous code which does not passthrough the correct value to ImageIO
2020-04-21 13:44:35 +08:00
DreamPiggy
478cad44b2
Merge pull request #2987 from dreampiggy/project_support_umbrella_swiftpm
...
Support the SwiftPM Objective-C user to use #improt <SDWebImage/SDWebImage.h>
2020-04-21 12:04:36 +08:00
DreamPiggy
34b59d1f79
Fix the support for SDWebImageMapKit
2020-04-19 12:53:12 +08:00
DreamPiggy
1708ec67c1
Support the SwiftPM Objective-C user to use #improt <SDWebImage/SDWebImage.h>, by using the link to the public header files and construct the same folder layout
2020-04-19 12:30:39 +08:00
DreamPiggy
e8a357e504
Added test case `testUIViewOperationKeyContextWorks` to ensure this behavior
2020-04-17 16:03:36 +08:00
DreamPiggy
64b13dc346
Allows to keep the set image operation key to downstream component like downloader or cacher, used for tracing
2020-04-17 15:51:19 +08:00
DreamPiggy
1cb0d2e2ba
Added the convenient transition options for macOS user. Deprecate the old timingFunction, which can use System API to achieve
2020-04-17 15:36:08 +08:00
DreamPiggy
e5adec920b
Fix the test case about encoding check, the expect expression syntax is wrong
2020-04-13 11:22:30 +08:00
DreamPiggy
b06d60cf3d
Update the readme of modules about custom caches, including SDWebImagePINPlugin support
2020-04-12 17:10:57 +08:00
DreamPiggy
74ae21337c
Bumped version to 5.7.2
...
Update the CHANGELOG
2020-04-11 18:12:29 +08:00
DreamPiggy
774571f498
Merge pull request #2977 from dreampiggy/attempt_fix_image_io_animated_image_thread_safe
...
SDAnimatedImageView animation rendering should not use CGContext force decoding, use `kCGImageSourceShouldCacheImmediately` instead which can avoid OOM for large number of GIFs
2020-04-11 17:40:59 +08:00
DreamPiggy
c68f7f8196
Merge pull request #2983 from dreampiggy/project_rename_private_header_avoid_bad_pod_conflict
...
Rename the private header `UIColor+HexString` and `NSBezierPath+SDRoundedCorners` with SD prefix, to avoid the conflict when using CocoaPods
2020-04-11 17:40:26 +08:00
DreamPiggy
d112d18088
Rename the private header `UIColor+HexString` and `NSBezierPath+SDRoundedCorners` with SD prefix, to avoid the conflict when using CocoaPods
2020-04-11 17:01:47 +08:00
DreamPiggy
dddf4a8392
Merge pull request #2982 from dreampiggy/bugfix_animated_image_buffer_calculation
...
Fix that when first play animated image and use maxBufferSize to 0, the calculation does not works (The CGImage is nil)
2020-04-11 16:43:29 +08:00
DreamPiggy
b65ea693ae
Remove the time based test case for lazy decoding, because it's unstable. Now use offline manual test for this behavior
2020-04-11 16:40:55 +08:00
DreamPiggy
a5e129dac7
SDAnimatedImageView animation rendering should not use CGContext force decoding, use `kCGImageSourceShouldCacheImmediately` instead which can avoid OOM for large number of GIFs #2977
2020-04-11 16:00:22 +08:00
DreamPiggy
13bae85e3d
Fix that when first play animated image and use maxBufferSize to 0, the calculation does not works (The CGImage is nil)
2020-04-10 23:34:23 +08:00
DreamPiggy
f52dc6b4bd
Bumped version to 5.7.1
...
Update the CHANGELOG
2020-04-08 11:26:58 +08:00
DreamPiggy
a8177c1327
Update the test case `test12ThatStoreCacheTypeWork` to ensure the transformed image does not inherit the image format or any attributes from original one
2020-04-08 11:18:03 +08:00
DreamPiggy
7cdf484fdd
Merge pull request #2976 from bdaz/master
...
Don't copy attributes from originalImage to transformedImage when caching transformedImage
2020-04-08 10:57:04 +08:00