Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/SDWebImage/SDWebImage

Asynchronous image downloader with cache support as a UIImageView category
https://github.com/SDWebImage/SDWebImage

Add the possible nullable logic check when the force-decode/copy failed

0d1c603d5068ed7ab6761d3e5cc794fa8bdb5bf7 authored about 2 years ago
Ignore the dynamic UTI type hint to avoid extra log

c81aec4ccda5d34fd729a59132e40f200e708406 authored about 2 years ago
Merge pull request #3425 from dreampiggy/feature/imageio_force_decode_option_control

Added `SDImageCoderDecodeUseLazyDecoding` to control whether to use lazy-decoding for ImageIO. I...

f6769186b9952c00aa3c1d9d201db88e4bdca9db authored about 2 years ago
Update test case `test17ThatMinimumProgressIntervalWorks` to make it more stable

6c836968008e2316730fcbbdaef82112dfbce205 authored about 2 years ago
Update the test case `test23ThatThumbnailEncodeCalculation`

7c4649c7cc7bfd1656e01b075809650c3aa5f657 authored about 2 years ago
Add extra check when user provide SDImageCoderDecodeUseLazyDecoding

136d05fce8713155823aaaaa3aa721c3312a32d1 authored about 2 years ago
Fix the `sd_isDecoded` did not set after we use SDCGImageCreateCopy

3000dd5098158f2575d695270b99a67469425a5d authored about 2 years ago
Recovery the assert check on only iPhone/TV simulator in debug mode

db25af95060acf6fc759134efd07a1b2cf510fdf authored about 2 years ago
Added `SDImageCoderDecodeUseLazyDecoding` to control whether to use lazy-decoding for ImageIO or not

Defaults to NO for animated image coder but YES for static image coder to match current behavior...

abc06f020ad619c76ad8cd4ba152fe3a8cf32706 authored about 2 years ago
Update README about GitHub action status

ddcf347c7dfaad3e8d6d81ac79e72b99118b48eb authored about 2 years ago
Merge pull request #3423 from dreampiggy/feature/refactor_thumbnail_hack_with_decode_options

Refactor the hack for multiple thumbnail image request at the same time

5ee6ac2476ac59e3f36ed75fb0f5ca4106b269ad authored about 2 years ago
Added test case test30ThatDifferentThumbnailLoadShouldCallbackDifferentSize

980e0dd14adf46378b18065b905b04ee62b91345 authored about 2 years ago
Refactor the hack for multiple thumbnail image request at the same time

1. Put the hack logic into SDWebImageDownloadOperation, each different thumbnail image request w...

2fd75638fe4723677ed2abee64a3f50795404132 authored about 2 years ago
Update test case to make clear that transformed image and thumbnailed image will callback without data

e3c6cfa066a0cab867e5f7877d5ace6258e873b2 authored about 2 years ago
Minor check the logic that UTI has high priority than path extension

279f636ac561ff5bcf3eb4c9539fa93115980976 authored about 2 years ago
Merge pull request #3421 from dreampiggy/feature/decode_options_in_from_loader_instead

Introduce SDWebImageContextImageDecodeOptions, deprecate SDImageCoderWebImageContext

4a72e4fee29c8600053eee760a297e06e80e5939 authored about 2 years ago
Added test case `test20ThatContextPassDecodeOptionsWorks`

851b60e0f3c1fc98af8301e143bbff1e5937bb54 authored about 2 years ago
Feature: Introduce SDWebImageContextImageDecodeOptions, deprecate SDImageCoderWebImageContext

This can solve the retain cycle from the scratch, instead of hacking

2f3652dc2e17f32ae12a9eef3bdf542b6bd3c5ae authored about 2 years ago
Merge branch '5.13.x' of github.com:SDWebImage/SDWebImage

# Conflicts:
# SDWebImage/Core/SDImageCacheDefine.m

b014808ddd52dc3ac70bcb24817a3c651928be10 authored about 2 years ago
Fix the issue that progressive decode logic does not get updated

318cca556b0489aede0cd98d8d0c7f1408ab7bd6 authored about 2 years ago
Bumped version to 5.13.5

update CHANGELOG

55a380941296727c5042f2d365b8104f726bc46c authored about 2 years ago
Merge pull request #3420 from dreampiggy/fix_5.13_retain_cycle_web_context

Quick fix the issue that UIImage.sd_decodeOptions cause retain cycle when pass custom cache in c...

34f2a9b823927520ad7a214d698d694d39f62f7a authored about 2 years ago
Quick fix the issue that UIImage.sd_decodeOptions cause retain cycle when pass custom cache in context option

Now the SDImageCoderWebImageContext does not pass the built-in options, only custom options will...

b46fe38c7257a534d02311192411e6dae43beca6 authored about 2 years ago
Merge pull request #3419 from dreampiggy/feature/tiff_uti_hint

Support use url.path or custom UTI hint passed to ImageIO, solve the TIFF/NEF/SRW raw image deco...

3a52ef5aeb3ce89b1f0b37359e7f39b460e1df10 authored about 2 years ago
Added NEF test case, as well as BMP type enum

The file extension hint works on iOS/macOS for current

8dd6e25cd86556178c22a33e97013fcbdad6a2da authored about 2 years ago
Support use url.path or custom UTI hint passed to ImageIO, solve the TIFF/NEF/SRW raw image decoding with wrong size

This is because file extension will cause ImageIO use different codec, which does not support al...

b1b16a17b36c3ecd5f81bf43cf115c8c9f30f375 authored about 2 years ago
Bumped version to 5.13.4

update CHANGELOG

9248fe561a2a153916fb9597e3af4434784c6d32 authored over 2 years ago
Merge pull request #3408 from dreampiggy/threadsafe_fix_imageio_incremental_animation

Fix the potential out of bounds crash for ImageIO incremental animation decoding (like GIF)

3c7c949637cecb4eef79cd543309a2d5b261e46f authored over 2 years ago
Fix test cases `test15CancelQueryShouldCallbackOnceInSync`

364034d11aaa6415e8611faaa1739e24c6fb0383 authored over 2 years ago
Try to investigate test case failure issue

080db1afb916e68edbe5e7c3089fbfaae58bf831 authored over 2 years ago
[NFC] A little optimization for MutableArray creation

9b2ddc9ea84434741c1491bce6440f80d86612fa authored over 2 years ago
Fix the potential out of bounds crash for ImageIO incremental animation decoding (like GIF)

This patch from the SDWebImageWebPCoder/pull/68

347cf1d1cc4feed24971e78dd68763fb132c1950 authored over 2 years ago
Bumped version to 5.13.3

update CHANGELOG

484bc774e1091f622c4856e576ff957b29403676 authored over 2 years ago
Merge pull request #3387 from dreampiggy/thread_safe_ios15_animation_cgimage_retain_source

Try to workaround iOS 15+ crash that CGImage retain the CGImageSource during animation image pla...

9f9d226083875af45f3624393882f49f915eb75d authored over 2 years ago
Remove the temp assert code (for debugging usage)

ea9f573744810f7bd4ac390b639136b40a6a98bb authored over 2 years ago
Update to force decode CGImage before any UIImage initialization on iOS 15+

89178a7d89ecde64a79df11faa496bddf6c656c4 authored over 2 years ago
Try to workaround iOS 15+ crash that CGImage retain the CGImageSource during animation image playing

This used to work on iOS 14

3994006cb46eb5e20517d66bb59c673769ec7e23 authored over 2 years ago
Merge pull request #3403 from dreampiggy/revert_isCancelled_block_with_recursive

Fix the crash because of SDWebImageCombinedOperation recursive lock

524d4f53ebbbbbddaf830ebd9467b0b724f645f2 authored over 2 years ago
Using the same synchornized to guard _cancelled status, which need recursive lock

DO NOT USE SD_LOCK (os_unfair_lock), which not support recursive

6b8075a2e1849ffff5bde0496f3cd841e16364ec authored over 2 years ago
Revert "Synchronise getter and setter of the cancelled property of the SDWebImageCombinedOperation in order to eliminate data race."

This reverts commit 5a18c84529dd5cd9cd45c8689d55b62d3b73b54a.

ad592765cbbd3b4dcc12fa014062625630c83104 authored over 2 years ago
Merge pull request #3402 from dreampiggy/fix_macOS_animatedview_render

Fix the switching from animated image rendering to static image does not works on macOS 11+

122c3d7ca57a21650c01b61f3ea42e5de4168f91 authored over 2 years ago
Fix the switching from animated image rendering to static image does not works on macOS 11+

We should always provide a fallback solution to handle built-in NSImageView logic

61c3c5ba2d3c6b94e79fa4195fcccd9d5568db73 authored over 2 years ago
Merge pull request #3401 from dreampiggy/fix_unlock_unbalanced

Fix the unbalanced lock which cause crash

d3b111deb10fc8ecb87e82a3fff5c2cf9dabcefb authored over 2 years ago
Fix the unbalanced lock which cause crash

6eb74a177fffc6991b283ddcfbf1884e046ff620 authored over 2 years ago
Merge pull request #3393 from alexander-gaidukov/synchronize_operation_cancellation

Synchronise getter and setter of the cancelled property of the SDWebImageCombinedOperation

3a6e01ab20b5b93b763b285e670e720510a30f7a authored over 2 years ago
Synchronise getter and setter of the cancelled property of the SDWebImageCombinedOperation in order to eliminate data race.

5a18c84529dd5cd9cd45c8689d55b62d3b73b54a authored over 2 years ago
Bumped version to 5.13.2

update CHANGELOG

3e48cb68d8e668d146dc59c73fb98cb628616236 authored over 2 years ago
Merge pull request #3380 from dreampiggy/bugfix_edge_case_cancel_cache_callback_twice

Fix the rare case when cancel an async disk cache query may cause twice callback

7d7debbd262ddac7c75c9d40c78e929839dcbad0 authored over 2 years ago
Fix the old test case warning

bcaf918b8393dc13917a39be49929e44a08b2491 authored over 2 years ago
Update test case about the cacheOperation and loaderOperation

62e3a8f52a9ce7b38c641118328c5593468a641e authored over 2 years ago
When download start, mark the query cache operation finished to avoid bug behavior

3d1197b820d29200e49d194e8e965b9c7419df71 authored over 2 years ago
Added test case `test15CancelQueryShouldCallbackOnceInSync`

2729096221edcd7eeea1add6f5e9ea6273950c95 authored over 2 years ago
Fix the rare case when cancel an async disk cache query may cause twice callback

One is sync and another is async

0643cb81c37f54384325fe6caff3ac118affff42 authored over 2 years ago
Merge pull request #3379 from amonshiz/patch-1

Fix pragma mark typo

b88d576f756e0ad27a926df155d44f74377bd639 authored over 2 years ago
Fix pragma mark typo

Built and noticed this warning
```
external/SDWebImage/SDWebImage/Core/NSButton+WebCache.m:152...

2bad528bfb907cc8182e596115fe222f1a29848f authored over 2 years ago
Bumped version to 5.13.1

update CHANGELOG

cc1995b73883a1f97931366879d862c53a32bf82 authored over 2 years ago
Merge pull request #3373 from dreampiggy/fix_clang_analyze_issue

Fix the clang analyze issue

7269107908da3ddeca360adce36f66032bba3662 authored over 2 years ago
Fix the clang analyze issue

0757241822ea079faffe82b6a9e30a6f03cc11e9 authored over 2 years ago
Merge pull request #3368 from dreampiggy/optimize_force_decode_solution

Added `SDImageCoder.defaultDecodeSolution` to control the force decode solution. Automatic by de...

d0f3c393350c1cdc0e2e307bed9f9327eade2d0a authored over 2 years ago
Change only ImageIO decoded CGImage should enter the `Force Decode` logic

Others coder, like WebP, should not use this approach

ff6b3b9bb59613d1acde21258d45bfe83bd44fab authored over 2 years ago
Added `SDImageCoder.defaultDecodeSolution` to control the force decode solution, defaults to CoreGraphics (the same as 5.12)

For user who want new UIKit solution, you can opt-in to change the `defaultDecodeSolution` case

213a8b8def68d594338d34c067d9d47e221f14ef authored over 2 years ago
Added SDImageCoderDecodeSolutionAutomatic, which check image format as well

This avoid the unwanted CMPhoto log

a88e6694229b627ef32c2cfdee956a8999eb1159 authored over 2 years ago
Merge pull request #3372 from dreampiggy/bugfix_color_at_point_grayscale

Fix sd_colorAtPoint and sd_colorsWithRect support for grayscale image (white and alpha)

3277824d431a0d35e596f28487765746978328e3 authored over 2 years ago
Fix the bitmapInfo support for greyscale color, update test case

1ed76f4f47d52aacdb690f34549a2d436ee83e99 authored over 2 years ago
Fix sd_colorAtPoint and sd_colorsWithRect support for grayscale image (white and alpha)

This fix the test cases for #3368

34236ac5221fa20e06ecca328c918a398d095791 authored over 2 years ago
Merge pull request #3370 from dreampiggy/bugfix_pdf_draw_bitmap_dpi

Fix the PDF image without thumbnailPixelSize will result huge bitmap size, now fixed into 72 DPI...

4d4e631183d2e3a9f4e59f6458ea080eda028335 authored over 2 years ago
Fix the case that provided DPI cause `kCGImagePropertyPixelWidth` return non-zero value

This will cause re-check thumbnail, and may result the wrong pixel size

2fe3879b1582e455044d2903fcbaa03415676028 authored over 2 years ago
Calculate the DPI based on PDF mediaBox, support thumbnailPixelSize

Move the vector code from ImageIOAnimatedCoder to ImageIOCoder, since it's not animatable :)

f1fe4ca8b85928b458437d10e035995e192fdd67 authored over 2 years ago
Fix the PDF image without thumbnailPixelSize will result huge bitmap size, now fixed into 72 DPI matching PDFKit

f91d35ef8d703a861644d7c406e717a6b21ae112 authored over 2 years ago
Bumped version to 5.13.0

update CHANGELOG

c4b8660bb3ef543fe4bdcaac0db956b32dc5583f authored over 2 years ago
Merge pull request #3364 from dreampiggy/bugfix_thumbnail_full_loading_same_time_cache_issue

Fix the issue when thumbnail and full size loading at the same time, the thumbnail image will wr...

0805bc0f4d3c0c2af15f305ad2da215d3413f114 authored over 2 years ago
Fix the issue when thumbnail first and full size loading at the same time, the thumbnail image will write to memory with wrong key

The disk cache key is correct and does not get effected by this issue

3358859b468fef42e7916eba6e2fe57c1899546d authored over 2 years ago
Update the Demo project

282714883e32f73c5285319c7445ce24bf6a4b8d authored over 2 years ago
Merge pull request #3363 from dreampiggy/fix_multiple_cancel_cache_callback_order

Fix the case when user cancel the image loading for same URL in sequence cause placeholder mass

16cf157658b48eab413a8783df0759861e54245b authored over 2 years ago
Fix the case when user cancel the image loading for same URL in sequence cause placeholder mass

This PR introduce 2 API changes:
1. Cache query now return cache token and callback sync when ca...

ad953cdcc5e57c2dcc8003aea0d5aae66fa8f436 authored over 2 years ago
Merge pull request #3362 from dreampiggy/behavior_thumbnail_store_cache

Feature: Change thumbnail cache behavior as expected, share cache through different loading pipe...

d58a1006c21a20ef1e37c36ea31d49a5bc33a988 authored over 2 years ago
Fix the assert case when loader callback nil image data

071a8934e3b15082b19d2fe12ba2e318d02143fc authored over 2 years ago
Added all the 3 test cases

test17ThatThumbnailCacheQueryNotWriteToWrongKey
test18ThatThumbnailLoadingCanUseFullSizeCache
te...

69acd5a15873b69891261a498b33747536364b4c authored over 2 years ago
Use the new solution, store the original decode options, when multiple loading pipeline share the same URL callback, check it and re-decode if needed

ecac56b7263f341bf06b93d980dc3c84afc216b2 authored over 2 years ago
Fix one bug that callback the wrong cache type

31c4a09430caa27eb6c5ac1a59bec46b2069dd1a authored over 2 years ago
Limit the re-deocde case only when image was downloaded, avoid when thumbnail hit cache

c47158362d04e09cd83b09d82097c693462770eb authored over 2 years ago
Fix the case when previous pipeline use thumbnail transformer use together, second pipeline use the full size loading

911328c1b4c149c5a4bf7adef675c1abe3ba162c authored over 2 years ago
Added sd_isThumbnail to mark metadata, avoid the case when full size image request re-use the image from thumbnail decoding for the same URL

I think this is a temp workaround

2c9290f109b91dc36133668e68f47345b4bd10ee authored over 2 years ago
Fix the case that query full size key with thumbnail, cause the write back of thumnail to memory cache with wrong key

e7e9268a7e9c2f1157f1cea1b88465bc1589b4f9 authored over 2 years ago
Opt the thumbnail cache behavior, now it prefers to store/query original data from disk, thumbnail image from memory

Separate the thumbnail from transformer, they are for different use case

613a2bf98890b283ec7e39a2efeb889b00c51e7e authored over 2 years ago
Merge pull request #3359 from dreampiggy/api_thumbnail_scale_calculation

Added new API for custom coder better handling the thumbnail size

0b661344fe83e1c8e3d8716527f727ee6210260c authored over 2 years ago
Added new API for custom coder better handling the thumbnail size

The current WebP/HEIF/AVIF coder both copy paste the same code multiple times and have to fix on...

1f3ee8e9d5a7e181db41759c0975b2a5dcb375b1 authored over 2 years ago
Merge pull request #3357 from dreampiggy/bugfix_encode_max_pixel_size

Fix the encodeMaxPixelSize logic

19b4b47c6063184ff65b353c3d9aeabec07ecfe7 authored over 2 years ago
Added test23ThatThumbnailEncodeCalculation test case

018cf32ab3c7e9ec814bf413e08d3a11468cbcbf authored over 2 years ago
Fix the encodeMaxPixelSize logic

Allows user to provide size which one dimension is larger than image size size
Example - maxPixe...

fcb53cb5ff8b2480e495947ec8c25df30c4a15cc authored over 2 years ago
Merge branch 'master' of https://github.com/SDWebImage/SDWebImage

3746c5d4c6f1741bae5ebeab18a92ead3b149247 authored over 2 years ago
Merge pull request #3336 from Insofan/feat/store_data

feat: store image data

9362505aeb0255177dea2b2e055801ece3e34366 authored over 2 years ago
Merge pull request #3355 from dreampiggy/feature_support_uiimage_preparefordisplay

Support using iOS 15 UIImage new API imageByPreparingForDisplay for faster force decoding

8743cdd6333388a7e3d04b6a929b2808a69f4235 authored over 2 years ago
Bumped version to 5.12.6

update CHANGELOG

b729cc14f65e1412efc781a4cc46bd7f4720a3ae authored over 2 years ago
Support using iOS 15 UIImage new API imageByPreparingForDisplay for faster force decoding

This API seems support both async/sync version, SD use sync version here because we already call...

9b9fc6fc9bbd5bee2a431062ead34176eb34135c authored over 2 years ago
Merge pull request #3354 from dreampiggy/bugfix_thumbnail_calculate

Fix the thumbnail pixel size calculation when preserveAspectRatio is true

eeb25d6e9c1ecedbcbdc6694a6e40eaa8dcddbb5 authored over 2 years ago
Update SDImageCache.m

Little logic check for nil value

a66972bdc830103cd556c465599dc704d8ec5053 authored over 2 years ago
Update SDImageCache.m

Remove extra toDisk param

754de4d7c8b07d39dcd8e8886f9547e53e370254 authored over 2 years ago
Update SDImageCache.h

Remove extra toDisk param

2fc131c44bf8af283561dcb0b77d42d96b8ea28b authored over 2 years ago
Added test case test22ThatThumbnailPreserveAspectRatio

3b0b2326165cc2e4b34f8c301b58a99d96dc1df6 authored over 2 years ago