DreamPiggy
eb8b62b170
Fix the test case `test57SDImageCachesManagerOperationPolicySerial` that remove the cache path directory
2023-04-21 20:39:49 +08:00
DreamPiggy
4cee95d5a2
Revert the SDDisplayLink for watchOS, fix the animated image duration bug
2023-04-21 18:53:36 +08:00
DreamPiggy
a549e99922
Merge pull request #3519 from dreampiggy/bugfix/warning_c_no_param
...
Fix the warning of C function with no param
2023-04-21 15:54:19 +08:00
DreamPiggy
ec278a2fb5
Fix the warning of C function with no param
2023-04-21 15:52:41 +08:00
DreamPiggy
b4d32dc85d
Merge pull request #3517 from timonus/save-perf
...
Small improvements to SDDiskCache write perf.
2023-04-21 15:32:28 +08:00
Tim Johnsen
c79416bc2e
Ensure directory exists on init instead of on each save.
2023-04-18 16:29:24 -07:00
Tim Johnsen
3fd19c16eb
Disable iCloud backup once per directory creation instead of for each image save.
2023-04-18 16:27:30 -07:00
DreamPiggy
fb50c1d20f
Bumped version to 5.15.5
...
update CHANGELOG
2023-03-03 23:12:01 +08:00
DreamPiggy
4a3ce34c27
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
2023-03-03 23:10:53 +08:00
DreamPiggy
e0b7cc5241
Fix the blur effect logic by avoid color convert and always use three box-blur methodology
2023-03-03 22:57:14 +08:00
DreamPiggy
14b36f8096
Merge pull request #3505 from dreampiggy/bugfix/cache_nil_key
...
Protect the disk operation when input key is nil
2023-03-03 15:29:17 +08:00
DreamPiggy
8d09564f27
Protect the disk operation when input key is nil
2023-03-03 15:10:42 +08:00
DreamPiggy
a812079ae9
GravatarBumped version to 5.15.4
...
update CHANGELOG
2023-02-21 21:14:53 +08:00
DreamPiggy
011fe74031
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
2023-02-21 21:09:42 +08:00
DreamPiggy
5bb64eae39
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)
2023-02-21 19:12:12 +08:00
DreamPiggy
554e05a441
Bumped version to 5.15.3
...
update CHANGELOG
2023-02-18 19:49:14 +08:00
DreamPiggy
748def0a0c
Merge pull request #3496 from dreampiggy/temp/try_fix_promotion
...
Try to fix the SDAnimatedImageView playback speed issue in Promotion devices (iPhone Pro)
2023-02-18 19:36:15 +08:00
DreamPiggy
856ecd6235
Fix leak of display mode
2023-02-18 18:07:31 +08:00
DreamPiggy
3440b7c0fb
Update test case for display link and revert the protect code
2023-02-18 18:04:01 +08:00
DreamPiggy
940f991ca1
Merge pull request #3497 from dreampiggy/bugfix/same_url_failed_callback_times
...
Fix the issue when multiple request for same url failed, the completedBlock will callback more times
2023-02-18 17:57:14 +08:00
DreamPiggy
9bc5207979
Added test case `test31ThatMultipleRequestForSameURLFailedCallback` to ensure behavior
2023-02-18 17:33:59 +08:00
DreamPiggy
b25864cc71
Fix the issue when multiple request for same url failed, the completedBlock will callback more times
2023-02-18 17:27:13 +08:00
DreamPiggy
9cf8d125f5
Update README.md
...
Added the explanation for SD prefix
2023-02-18 17:02:34 +08:00
DreamPiggy
271e8d8b12
Try to fix display link callback duration calculation issue, using next timestamp for iOS 10+ / watchOS, previous timestamp for iOS 9
2023-02-12 03:02:07 +08:00
DreamPiggy
8bd4e72c33
Fix macOS Demo applicationDidFinishLaunching not called
2023-02-12 02:58:13 +08:00
DreamPiggy
a47bc00770
Merge pull request #3489 from SDWebImage/ci
...
Try to fix codecov upload issue using token
2023-02-07 21:08:22 +08:00
DreamPiggy
205b57cc1d
Try to fix codecov upload issue using token
2023-02-07 20:34:42 +08:00
DreamPiggy
7ccdcb02fb
Bumped version to 5.15.2
...
update CHANGELOG
2023-02-07 15:20:33 +08:00
DreamPiggy
2382c58421
Merge pull request #3484 from dreampiggy/garden/objc_bool_yes_no
...
Code garden to change Objc bool from true/false to YES/NO
2023-02-07 15:00:02 +08:00
DreamPiggy
6b25d9854a
Merge pull request #3483 from dreampiggy/bugfix/atomic_logic_fix
...
Fix the atomic logic between downloader and operation again
2023-02-07 14:59:20 +08:00
DreamPiggy
f2d7610181
Change Objc BOOL true/false into correct YES/NO
2023-02-07 02:32:11 +08:00
DreamPiggy
7cec27bab9
Fix the atomic logic between downloader and operation again
...
Remove the wrong logic to modify queue priority when re-use operation
2023-02-07 02:31:18 +08:00
DreamPiggy
1f48e5a379
Bumped version to 5.15.1
...
update CHANGELOG
2023-02-06 21:57:16 +08:00
DreamPiggy
eecc7e4380
Merge pull request #3480 from dreampiggy/bugfix/data_copy_crash
...
Remove the unused extra copy for `SDAnimatedImage` data initializer
2023-02-06 21:50:28 +08:00
DreamPiggy
247cbcfd97
Merge pull request #3479 from dreampiggy/bugfix/fix_async_block_operation_race
...
Try to fix the SDAsyncBlockOperation's race condition
2023-02-06 21:49:43 +08:00
DreamPiggy
fbe8880ab7
Remove the unused extra copy for `SDAnimatedImage` data initializer
2023-02-06 21:11:59 +08:00
DreamPiggy
02969011b0
Try to fix the SDAsyncBlockOperation's race condition
...
Use the correct way for subclassing NSOperation
2023-02-06 21:05:51 +08:00
DreamPiggy
a052164350
Merge pull request #3477 from dreampiggy/bugfix/ensure_downloader_callback_atomic
...
Ensure the Downloader and DownloaderOperation callback the completion in atomic and never miss one
2023-02-06 20:41:10 +08:00
DreamPiggy
1ec6cd06f7
Change all placeholder.com sample from http into https
2023-02-06 18:56:25 +08:00
DreamPiggy
b6910be155
Added test case `test31ThatMultipleRequestForSameURLNeverSkipCallback` to ensure all download request for same url always callback
2023-02-06 18:52:46 +08:00
DreamPiggy
0c94e540bc
Revert back the NSOperationQueue, seems has better performance on this cases (may dispatch multiple block but not important, one finished is OK)
2023-02-06 16:09:07 +08:00
DreamPiggy
6e1fee7834
Try not introduce new public API for operation, attach the `isCompleted` property using associated object from downloader, ensure compatibility
2023-02-06 15:06:54 +08:00
DreamPiggy
43b94130c7
Ensure the DownloaderOperation callback the completion in atomic and never miss one
...
The downloader will now check and ignore a `transferedDataFinished` operation (which is callbacking its own completion), because it's not safe in multi-thread environment, create new network request instead
2023-02-03 19:02:07 +08:00
DreamPiggy
f25cc6bb1c
Merge pull request #3474 from dreampiggy/bugfix/atomic_fix
...
Avoid compiler generate the wrong property attribute with non-atomic
2023-01-22 14:12:35 +08:00
DreamPiggy
a66ff8e5c9
Avoid compiler generate the wrong property attribute with non-atomic
2023-01-22 11:45:19 +08:00
DreamPiggy
8a6dcf8882
Merge pull request #3473 from dreampiggy/bugfix/create_options
...
Fix the issue the fallback logic of ImageIO Source should avoid passing any UTI hint
2023-01-22 11:43:31 +08:00
DreamPiggy
a80af99d0a
Fix the issue the fallback logic of ImageIO Source should avoid passing any UTI hint
2023-01-22 11:23:18 +08:00
DreamPiggy
6f8121c604
Merge pull request #3471 from GiddyGoatGaming/patch-1
...
Bump actions/checkout to v3
2023-01-19 12:08:08 +08:00
Spencer Comfort
5b34168e64
Bump actions/checkout to v3
2023-01-17 06:50:50 -05:00
DreamPiggy
6c6b951845
Bumped version to 5.15.0
...
update CHANGELOG
2023-01-17 17:10:01 +08:00