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

Merge pull request #3598 from dreampiggy/bugfix/xros_script

Added the visionOS support for "Build XCFramework" script target

345c935b8dc4453b7e05d45a5cf0b00ed1924712 authored over 1 year ago by DreamPiggy <[email protected]>
Remove the script target output file, since it's dynamic based

50c8acefd72b944fab51e6ef0f5608f466b94b14 authored over 1 year ago by DreamPiggy <[email protected]>
Update the build scripts with destination-based instead of sdk-based

Which fix the issue on M1 Mac for x86_64 cross-build

99770368b5b301533f40675a5ff4d19a01db5f5b authored over 1 year ago by DreamPiggy <[email protected]>
Added the visionOS support for "Build XCFramework" script target

Move the scripts from xcproj into the actual Scripts folder

35089a0b9b4788855d9eab073756deae76729c50 authored over 1 year ago by DreamPiggy <[email protected]>
Update the README.md about the installation guide

b231b2c55e67c04abab2043a8b76d7c73c557a5d authored over 1 year ago by DreamPiggy <[email protected]>
Merge pull request #3597 from dreampiggy/bugfix/jfif_orientation

Fix the JFIF image orientation bug (which does not use EXIF but JFIF metadata)

f62ae2adf8ffa78fc8afd93985410a2069d253b9 authored over 1 year ago by DreamPiggy <[email protected]>
Added test case for this down-orientation JFIF image file

56b43799847fe90ae6832a23d6d87ad8f0223c7c authored over 1 year ago by DreamPiggy <[email protected]>
A quick ugly fix for JFIF image orientation bug

We need the `kSDCGImageSourceSkipMetadata`, or the EXIF orientation translated by JFIF stills co...

9ff08a1e6690f21c3ae30f18f81f1727150afae2 authored over 1 year ago by DreamPiggy <[email protected]>
Bumped version to 5.18.0

update CHANGELOG

36e484b317522667a4b2de9b50daaa01dfa30809 authored over 1 year ago by DreamPiggy <[email protected]>
Update xcodeproj to add support on MapKit for visionOS

9ccedcc09e6fb2b86b964588842f56818f45e1f6 authored over 1 year ago by DreamPiggy <[email protected]>
Merge pull request #3556 from dreampiggy/feature/visionOS

(Part 1) Support to build for visionOS (no package manager support)

82cfc450a3a61267ee7c0f76e800f89fba905cb0 authored over 1 year ago by DreamPiggy <[email protected]>
Update readme and at least the xcconfig for visionOS

8000e239d27f556dfa98b900386af85e9bd35b8b authored over 1 year ago by DreamPiggy <[email protected]>
Added support for visionOS using platform macro detection

The scale using traitCollection.displayScale
This only change source code

a797da71ce147192d61a95c8207d2f25edea74eb authored over 1 year ago by DreamPiggy <[email protected]>
Merge pull request #3592 from dreampiggy/feature/avoid_cancel_image_options

Added `SDWebImageAvoidAutoCancelImage` to avoid cancel loading image requests for the same opera...

2db2c7ad5b3ae169e89600e1f2cc3bb7754d05b8 authored over 1 year ago by DreamPiggy <[email protected]>
Added test cases for AvoidAutoCancelImage options

44470a8e4ee4b367ed688ee01b688f5d64e1a904 authored over 1 year ago by DreamPiggy <[email protected]>
Added `SDWebImageAvoidAutoCancelImage` to avoid cancel loading image requests for the same operation key

b3e1637a230377c8fbc5db428ac2bdb3058834ee authored over 1 year ago by DreamPiggy <[email protected]>
Merge pull request #3587 from dreampiggy/bugfix/add_check_for_empty_data

Add extra check for empty data during URLSession data callback

507225ea04876894856186af6d3c30a9e8c1200a authored over 1 year ago by DreamPiggy <[email protected]>
Add extra check for image data during URLSession data callback

Make sure the assert work

1550747f2af9cad120713c1c9f63668230bde2f0 authored over 1 year ago by DreamPiggy <[email protected]>
Update the comments and associated key

c614dffdfd3097ebfb1055a37beee1883eb9f2de authored over 1 year ago by DreamPiggy <[email protected]>
Merge pull request #3576 from dreampiggy/feature_set_image_state_api

Add better support for stateful view (UIButton) for image URL/progres s state management

5ef6c839538e3d7f43773964927971e956fa7c68 authored over 1 year ago by DreamPiggy <[email protected]>
Fix the unit test about out-of-date behavior

1c929511104480e2f065ceb292fbd53937d2f642 authored over 1 year ago by DreamPiggy <[email protected]>
Add better support for stateful view (UIButton) for image URL/progress state management

Key idea:
1. Image Loading pipeline is based on `operation key`, when start/cancel it always nee...

a986a77734b33f01e6464aa150c7a87dd99020ac authored over 1 year ago by DreamPiggy <[email protected]>
Merge pull request #3575 from dreampiggy/bugfix/CGImageCreateScale

Fix the CGImageCreateScaled to support 16/32 bit depth CGImage (RGB161616) and always preserve p...

7e786338451124572e83a3d86c19efd86906d7a1 authored over 1 year ago by DreamPiggy <[email protected]>
Added the complicated unit test `test22CGImageCreateScaledWithSize`

Test RGB888/RGB16/ARGB8888/RGB16/RGBF works on CGImageCreateScaled, because it's Foundation of c...

68c5808581b2f48695d392c558c98ee84b89de42 authored over 1 year ago by DreamPiggy <[email protected]>
Fix the CGImageCreateScaled to support 16/32 bits CGImage (RGB161616), and always preserve pixel format info

d25ee5b094a4fff1aa160059f08f3392ae349511 authored over 1 year ago by DreamPiggy <[email protected]>
Merge pull request #3572 from Mervin1024/redundant_url_requests

Fix redundant requests for the same url during decoding time

0b225eaaebf5fad12d284206edbfaebfae75495f authored over 1 year ago by DreamPiggy <[email protected]>
use @syncrhonized (self) in the whole checkDone method, no longer allows something that add new handlers during checkDone

2d73e96fdf762c2679d71356e6a767ff561bf37a authored over 1 year ago by 马遥 <[email protected]>
fix typo

1ee0dbacea54cf8821edb5f1521e50b840f7e5e9 authored over 1 year ago by 马遥 <[email protected]>
Merge pull request #3573 from dreampiggy/feature/keep_animated_data_macOS_imageRep

Expose the data and format when SDAnimatedImageRep created with APNG/GIF/WebP/HEICS

bc4d0c7c62364616c29f23d13ed4f047f5ecb870 authored over 1 year ago by DreamPiggy <[email protected]>
Update test case `test27ThatEncodeWithFramesWorks`

480f3b5158c49d4c6e2eb02a5a9f852dd78a31f0 authored over 1 year ago by DreamPiggy <[email protected]>
Expose the data and format when SDAnimatedImageRep created with APNG/GIF/WebP/HEICS

This can avoid extra decoding (slow) for some cases if you need compressed image data

1f4292ec8221f25d398731900b61c9d58735fb73 authored over 1 year ago by DreamPiggy <[email protected]>
fix redundant url requests

39af2be6ee8071ab8828e07c7ae7823d61bd0c4e authored over 1 year ago by 马遥 <[email protected]>
Disable the test case testSDGraphicsImageRenderer on GitHub actions because it does not connect to a display

Only run on local Mac

8dbf8ed97a10e0f4d61ca8f754dc04e4d17b5f02 authored over 1 year ago by DreamPiggy <[email protected]>
Merge pull request #3565 from fattiger00/master

Fix bug #3564

512eb997ca3c52d316a7ee14531fdc95eb40e907 authored over 1 year ago by DreamPiggy <[email protected]>
Add test cases for bug #3564

f9e6cc288cf6e35b7de2404a1c2c5daf7afb50f1 authored over 1 year ago by yang <[email protected]>
Fix bug #3564 decodedAndScaledDownImageWithImage may not render the image completely when met the specified image size.

01336bd3cd0ee47af03f10c1f8ee09f4da48ad97 authored over 1 year ago by yang <[email protected]>
Fix the test case

633996a807442ec28df9d33b0f88ce57a0e2fdbf authored over 1 year ago by DreamPiggy <[email protected]>
Bumped version to 5.17.0

update CHANGELOG

c7e350f7929b1fe197d39a8e6b275eaca1f45e7b authored over 1 year ago by DreamPiggy <[email protected]>
Code garden for test cases

8efa42e6bc98c0f6a50184c62e876a736d751747 authored over 1 year ago by DreamPiggy <[email protected]>
Merge pull request #3559 from dreampiggy/performance/default_bitmap_and_force_decode

Refactory the logic to handle force decode logic to avoid CA copy frame buffer, introduce SDImag...

8f16a63d7f9dbdc4c3c0faba28b4f44e61b24e84 authored over 1 year ago by DreamPiggy <[email protected]>
Rename to use struct to return the alignment, preserve for future HDR support

808cedc7e5fddb4f49abfc59eca6b1733f1496d6 authored over 1 year ago by DreamPiggy <[email protected]>
Fix the macOS force decode colorspace does not match screen colorspace and cause copy

Fix the NSColor should still convert to sRGB for print...

45b497c5f611796a435af60ad4559fc13de41d31 authored over 1 year ago by DreamPiggy <[email protected]>
Provide the API for custom coders (like WebPCoder) to use runtime check to handle the decode output bitmap info

Include: colorspace, byte alignment, bitmap info

Remove the exists hardcode on BGRA8888

b4559994ead28427905dcd776634c174f33986fb authored over 1 year ago by DreamPiggy <[email protected]>
Fix the handle of ForceDecodePolicyAlways, still need to check animated image and vector image to not break them

cc89e14fdd39558cb40a1cac628c2fb63d8bd30b authored over 1 year ago by DreamPiggy <[email protected]>
Fix the colorspace of hardware supported on macOS

Should use device RGB, like Color LCD

67da434e79962eb40072a3de7da517824beebfd8 authored over 1 year ago by DreamPiggy <[email protected]>
Fix the handle to context option and add test case

3e382b234d881d3bd960248602b7be52b042a224 authored over 1 year ago by DreamPiggy <[email protected]>
Update the default force decode value, partial revert ff6b3b9bb59613d1acde21258d45bfe83bd44fab

Now it's will mark as false for not byte-aligned CGImage

06589dbcc4d4c1e3b6be1ada3ee035e483354d2e authored over 1 year ago by DreamPiggy <[email protected]>
Removed the unused cache line size helper method

b4af7cc5efc36f1c1fc2b05194ef5725fc8c6cab authored over 1 year ago by DreamPiggy <[email protected]>
Update test case for SDImageForceDecodePolicyAutomatic

1a61c8d2d9f7b5c9b9662e7d1b2c09fdb937e45a authored over 1 year ago by DreamPiggy <[email protected]>
Introduce `SDImageForceDecodePolicy`, which can controls whether to force-decode using automatic check, always or never

Deprecate the `SDWebImageAvoidDecodeImage`

This can help for some user who don't use ImageIO an...

e1c01fe28b1cae995e34be9397016dc91a8a4ded authored over 1 year ago by DreamPiggy <[email protected]>
Added test case `test28ThatNotTriggerCACopyImage` and `test28ThatDoTriggerCACopyImage`

69c98c5f712b06ba5656c53db810c44f99e724f5 authored over 1 year ago by DreamPiggy <[email protected]>
Update the correct byte alignment and check with 8 * 4 bytes

The sd_isDecoded default value only check once

f6ca661537133d872e2e57f9b79ea0da9aa8201f authored over 1 year ago by DreamPiggy <[email protected]>
Merge pull request #3561 from dreampiggy/bugfix/macOS_limitBytes_animatedImageRep

Fix macOS bug that SDImageCoderDecodeScaleDownLimitBytes still use the AnimatedImageRep and beyo...

f5f27a9e0194826a74a7d85aefe678aef57fa7a6 authored over 1 year ago by DreamPiggy <[email protected]>
Fix the bug that SDImageCoderDecodeScaleDownLimitBytes still use the AnimatedImageRep and beyond the byte limit

Also, expose the limit bytes calculation utils method

47fd1c9a109c792bf5b31cb602189eb1cd55157f authored over 1 year ago by DreamPiggy <[email protected]>
Bumped version to 5.16.0

update CHANGELOG

c51ba84499268ea3020e6aee9e229c0f56b9d924 authored over 1 year ago by DreamPiggy <[email protected]>
Merge pull request #3547 from dreampiggy/doc/update_api_document

Update some comments to allows SwiftDocC generate better page

90aa750c92973005f086263e44c6224a1456bb12 authored over 1 year ago by DreamPiggy <[email protected]>
Update some comments to allows SwiftDocC generate better page

82793d27bfd770995ab9c8eade851c935ff83977 authored over 1 year ago by DreamPiggy <[email protected]>
Added description about the non-cache key awareness for .scaleDownLimitBytes

May be changed in the future if user reply

5c14e73f70d80e7489781859029bc0370d82dc45 authored over 1 year ago by DreamPiggy <[email protected]>
Merge pull request #3537 from dreampiggy/feature/coder_scale_down_limit_bytes_auto

Introduce the automatically calculation of thumbnail (include animated/static image) using `SDIm...

b27c579f47b8ca3fcd578e14228e95190a036dd7 authored over 1 year ago by DreamPiggy <[email protected]>
Merge pull request #3524 from dreampiggy/feature/sdanimatedimage_frame_pool

Performance: Introduce frame pool for SDAnimatedImage playback. Solve when multiple image view r...

c27e18506d4742342fcaf64c5295c23b227ee30d authored over 1 year ago by DreamPiggy <[email protected]>
Bumped version to 5.15.8

update CHANGELOG

7f9fb5d43ecd4aa714c00746f54873f354403438 authored over 1 year ago by DreamPiggy <[email protected]>
Merge pull request #3535 from dreampiggy/feature/SDAnimatedImage_scale

Update the implementation `SDScaledImageForScaleFactor` to support SDAnimatedImage

e85d1e5c36efca232bcac8f94cb713dfd1e2e3c1 authored over 1 year ago by DreamPiggy <[email protected]>
Update the example with new SDWebImageScaleDownLargeImages

91162ce5dcc089fda5b12814cea681035b7bad80 authored over 1 year ago by DreamPiggy <[email protected]>
Introduce the automatically calculation of thumbnail (include animated/static image) using `SDImageCoderDecodeScaleDownLimitBytes`

The exist SDWebImageScaleDownLargeImages translate to new option instead

91ff7189c991575d7a2679def6f5e4f90c55fc26 authored over 1 year ago by DreamPiggy <[email protected]>
Update the check logic to detect `Multiple Frame Animated Image`

f3ea1eee6741ec0aa5cec40537316d4dc8274fe9 authored over 1 year ago by DreamPiggy <[email protected]>
Update the implementation `SDScaledImageForScaleFactor` to support SDAnimatedImage

2331bcc690246e2aa4022b4d7d2516d52dc25d0e authored over 1 year ago by DreamPiggy <[email protected]>
Merge pull request #3531 from dreampiggy/bugfix/macos_SDDisplayLink_crash_during_dealloc

Try to fix macOS SDDisplayLink crash because of accessing the deallocated objc pointer during CV...

d82f5574e458549d11d0b0a68ca5c619ce251047 authored over 1 year ago by DreamPiggy <[email protected]>
Try to fix the SDDisplayLink danger pointer because of unsafe_unretained for self from the CVDisplayLinkRef

Using the same solution from iOS/watchOS via SDWeakProxy

08ca5f4b225bfa6f9b8a42e931ab15edf0350833 authored over 1 year ago by DreamPiggy <[email protected]>
Fix the test case test26AnimatedImageStopAnimatingClearBuffer

ef69460dc7a742278d8e0864900ef4b6216edd64 authored over 1 year ago by DreamPiggy <[email protected]>
Try to optimize the time when calculate the maxBufferCount, it's cheap to get free memory so we check each time before prefetch

Also, move the memory warning handler into frame pool class (100 player may use one frame pool)

858b64aef75a330b10c984cdaa4f7efc21bce8be authored over 1 year ago by DreamPiggy <[email protected]>
Using lock to ensure SDImageFramePool register/unregister logic in multi-thread environment

507f1b6b45d80b0ed6de9454593112505bab5ea1 authored over 1 year ago by DreamPiggy <[email protected]>
Introduce frame pool for SDAnimatedImage playback. Solve when multiple image view references the same URL image cause un-wanted decode which waste RAM/CPU

a206229905dab02c6dfa35fad6a0b4a17ce97e0d authored over 1 year ago by DreamPiggy <[email protected]>
Fix the issue that per-provider frame pool does not get dealloced

181f8d21836a730ff1753593747d760aa2b89a1d authored over 1 year ago by DreamPiggy <[email protected]>
Bumped version to 5.15.7

update CHANGELOG

3289629ef6cbf1ad8c3d1dccf0cf09ac97547cd6 authored over 1 year ago by DreamPiggy <[email protected]>
Merge pull request #3526 from dreampiggy/bugfix/try_avoid_inline_sdcallback_queue

Try to solve the strange dispatch group crash in SDSafeExecute by removing inline

09f0fdd1890b7c9420109bc7b45dcee91b66b7de authored over 1 year ago by DreamPiggy <[email protected]>
Merge pull request #3523 from dreampiggy/opt/same_url_query_extra_decode_store

Performance: Opt when multiple same URL query in parallels, which may cause duplicated decode an...

5481aa2e1663eda5398ddeee9e7a422a17c96af1 authored over 1 year ago by DreamPiggy <[email protected]>
Extended gcd queue to avoid SDCallbackQueue dealloc while during dispatch

ada908a8536481248e53a00a7eae14d5134d135e authored over 1 year ago by DreamPiggy <[email protected]>
Check queue equality only when queue specific is available

17b5a1d9ab19ec0fcf7184ef3cc83fcff42cd739 authored over 1 year ago by DreamPiggy <[email protected]>
Try to solve the strange dispatch group crash in SDSafeExecute by removing inline

Guessing the queue ARC lifecycle is wrong during some of compiler optimization

4ffd068762be4f808e760241566f5c8c6f61b2c6 authored over 1 year ago by DreamPiggy <[email protected]>
Performance: Opt when multiple same URL query in parallels, which may cause duplicated decode and store disk operation

71bcdf006ab8cfdbc26fc56230d97f1aac4ced47 authored over 1 year ago by DreamPiggy <[email protected]>
Bumped version to 5.15.6

update CHANGELOG

20df851f2ae27efbaeeff73e9babdf4fd839a144 authored over 1 year ago by DreamPiggy <[email protected]>
Merge pull request #3520 from dreampiggy/bugfix/watchos_animated_image_duration

Revert the SDDisplayLink for watchOS, fix the animated image duration bug

1fdb22578cc1517211027361cf174c64699919d7 authored over 1 year ago by DreamPiggy <[email protected]>
Fix the test case `test57SDImageCachesManagerOperationPolicySerial` that remove the cache path directory

eb8b62b170dffda3a14798fceaa67f8cf32c1ab2 authored over 1 year ago by DreamPiggy <[email protected]>
Revert the SDDisplayLink for watchOS, fix the animated image duration bug

4cee95d5a2064d224ab61cd600dcb0f44f1918bc authored over 1 year ago by DreamPiggy <[email protected]>
Merge pull request #3519 from dreampiggy/bugfix/warning_c_no_param

Fix the warning of C function with no param

a549e9992293e5be2b3fab2df110ad5ac61f6661 authored over 1 year ago by DreamPiggy <[email protected]>
Fix the warning of C function with no param

ec278a2fb57a02944fbf306c9639aae9f1123108 authored over 1 year ago by DreamPiggy <[email protected]>
Merge pull request #3517 from timonus/save-perf

Small improvements to SDDiskCache write perf.

b4d32dc85d24999176f3178a9c2edeef13e71d7c authored over 1 year ago by DreamPiggy <[email protected]>
Ensure directory exists on init instead of on each save.

c79416bc2e0694488f3cbfc716f9313a3fee706d authored over 1 year ago by Tim Johnsen <[email protected]>
Disable iCloud backup once per directory creation instead of for each image save.

3fd19c16eb6dcb5869d2203e8c12f3c3a74c75e4 authored over 1 year ago by Tim Johnsen <[email protected]>
Bumped version to 5.15.5

update CHANGELOG

fb50c1d20f24db5322b2f8f379de3618f75fe08e authored almost 2 years ago by DreamPiggy <[email protected]>
Merge pull request #3506 from dreampiggy/bugfix/fix_blur_effect

Fix the blur effect logic by avoid color convert and always use three box-blur methodology

4a3ce34c27d6b85cbd1cdd6b5b2cda8fe7c51639 authored almost 2 years ago by DreamPiggy <[email protected]>
Fix the blur effect logic by avoid color convert and always use three box-blur methodology

e0b7cc524113637c6334ef5e558aba685e0754dc authored almost 2 years ago by DreamPiggy <[email protected]>
Merge pull request #3505 from dreampiggy/bugfix/cache_nil_key

Protect the disk operation when input key is nil

14b36f8096ac14785c3fc556a3b71e14a9022384 authored almost 2 years ago by DreamPiggy <[email protected]>
Protect the disk operation when input key is nil

8d09564f27884bfd50632b8f57dfdd8989fbb76e authored almost 2 years ago by DreamPiggy <[email protected]>
GravatarBumped version to 5.15.4

update CHANGELOG

a812079ae91a7f2e627364c42ea7b98abfa366ed authored almost 2 years ago by DreamPiggy <[email protected]>
Merge pull request #3500 from dreampiggy/bugfix/sd_callbackqueue_escaping

Fix the wrong declaration of SDCallbackQueue's block, should be escaping to match GCD block

011fe7403101031cd6996ff15867752c4ced383f authored almost 2 years ago by DreamPiggy <[email protected]>
Fix the wrong declaration of SDCallbackQueue's block, should be escaping to match GCD block

This may cause the wrong lifecycle for block (earily release)

5bb64eae39ff6cad6be6422b80250d7d86a533f6 authored almost 2 years ago by DreamPiggy <[email protected]>
Bumped version to 5.15.3

update CHANGELOG

554e05a4415fe20add53531c21e593c403685c3d authored almost 2 years ago by DreamPiggy <[email protected]>
Merge pull request #3496 from dreampiggy/temp/try_fix_promotion

Try to fix the SDAnimatedImageView playback speed issue in Promotion devices (iPhone Pro)

748def0a0c5d6cd589a411451cd4e2ea29b3ee4f authored almost 2 years ago by DreamPiggy <[email protected]>
Fix leak of display mode

856ecd6235186fffb70f0125987518bcce374c11 authored almost 2 years ago by DreamPiggy <[email protected]>