Commit Graph

3151 Commits

Author SHA1 Message Date
Insomnia d9409e6cd8 mod: 1. change playback mode getter 2. fix playback mode test typo 2020-11-20 15:44:27 +08:00
DreamPiggy af96d0b825
Merge pull request #3128 from dreampiggy/feature_replace_semaphore_with_os_unfair_lock_and_spinlock
Replace all current dispatch_semaphore usage into the os_unfair_lock, use OSSpinLock for lower firmware
2020-11-20 15:28:43 +08:00
DreamPiggy d406215cc9 For macCatalyst, which designed to be used on macOS 10.13, so don't need OSSpinLock 2020-11-20 14:48:14 +08:00
DreamPiggy 6962f8c131
Merge pull request #3129 from dreampiggy/feature_options_context_image_loader_protocol
Added the options and context arg for Image Loader custom protoocl, this can be used for advanced user to grab and check for context for current loading URL to process the logic
2020-11-20 11:52:19 +08:00
DreamPiggy 9365dad9b0 Update the built-in loaders for the new protocol methods 2020-11-19 16:22:44 +08:00
DreamPiggy 6f90bc083a Added the options and context arg for Image Loader custom protoocl, this can be used for advanced user to grab and check for context for current loading URL to process the logic. 2020-11-19 16:17:56 +08:00
DreamPiggy cbbf3285e8 Follow Apple's best practice to use lock for array insert/remove thread safe, replace all current dispatch_semaphore usage into the os_unfair_lock, use OSSpinLock for iOS 10- lower firmware 2020-11-19 15:49:45 +08:00
Bogdan Poplauschi 6465dc3a17 Added link to the Data Collection Practices (https://sdwebimage.github.io/DataCollection/index.html) 2020-11-16 20:41:10 +02:00
DreamPiggy 2c8ed9a2f3 GravatarBumped version to 5.9.5
update CHANGELOG
2020-11-13 17:29:59 +08:00
Insomnia 35628a2a3b add: playback mode test 2020-11-03 11:37:27 +08:00
DreamPiggy 264d7a490c
Merge pull request #3113 from MoZhouqi/master
Add animationImages support when using SDAnimatedImageView
2020-11-03 10:26:39 +08:00
Insomnia 05c6e5d70e mod: change description of animated player 2020-11-03 09:43:43 +08:00
jourhuang 5c88cf19ed Update SDImageCache.m 2020-10-31 22:18:31 +08:00
Zhouqi Mo 4e73d478a9 Add animationImages support when using SDAnimatedImageView 2020-10-30 15:36:56 +08:00
Insomnia 8c108d604f mod: 1. expose animated player 2. modify setup current frame 2020-10-30 11:54:39 +08:00
Insomnia 3926f1bc88 feat: animation playback mode done 2020-10-29 09:58:45 +08:00
Insomnia aa89511c74 sync 2020-10-28 18:13:00 +08:00
Insomnia 184c8768fa sync 2020-10-28 11:53:50 +08:00
Insomnia 310de419e7 sync 2020-10-27 22:03:41 +08:00
Insomnia 32d2a79cf8 add: 1. expose animation player 2. add playback mode enum 2020-10-25 19:28:13 +08:00
DreamPiggy 88b3ba211c Bumped version to 5.9.4
update CHANGELOG
2020-10-23 10:36:09 +08:00
DreamPiggy 39baf0bba6
Merge pull request #3110 from kinarobin/fix-disk-image-fetch-bug
Fixed the store cache type was specified to `SDImageCacheTypeDisk `  that no pictures were obtained when the disk had pictures
2020-10-21 18:11:24 +08:00
libin14 ddbeaa1cdc fix disk image fetch bug 2020-10-21 10:52:52 +08:00
DreamPiggy 83116a97bb
Merge pull request #3108 from perrystreetsoftware/fix/transition-race-condition
Fix race condition when using transitions that are canceled and then switched to a new transition or load operation
2020-10-20 15:52:35 +08:00
Eric Silverberg 85d1908025 Fix race condition when using transitions that are canceled and then switched to a new transition or load operation 2020-10-14 14:02:06 -04:00
DreamPiggy a71dcd2b43 Bumped version to 5.9.3
update CHANGELOG
2020-10-13 12:23:02 +08:00
DreamPiggy d31e82fdd1
Merge pull request #3104 from kinarobin/fix-memory-cache
Fix  store cache in memory bug
2020-10-13 10:39:08 +08:00
Kinarobin 7c70e574c1
Merge branch 'master' into fix-memory-cache 2020-10-12 19:52:23 +08:00
libin14 d66597a41f fix store cache in memory bug 2020-10-12 19:46:24 +08:00
DreamPiggy a55ffe0b87
Merge pull request #3103 from seven332/master
Test case for coder priority in SDAnimatedImage
2020-10-12 16:26:54 +08:00
seven332 2a28157787 Add test case for coder priority in SDAnimatedImage 2020-10-11 01:50:36 +08:00
DreamPiggy b57eae42df
Merge pull request #3101 from seven332/master
Fix coder priority in SDAnimatedImage
2020-10-10 14:16:18 +08:00
seven332 69e492f2ee
Reversely traverse coders in SDAnimatedImage
Allow overriding default coders for known image format
2020-10-09 18:30:23 +08:00
DreamPiggy 665d02280f Update the CHANGELOG.md 2020-09-29 23:24:53 +08:00
DreamPiggy 63130c6f74
Merge pull request #3094 from YuAo/transition_patch
[SDWebImageTransition] Fix: `duration` is not used in convenience initializers.
2020-09-29 23:22:41 +08:00
DreamPiggy f00dc08b9f Bumped version to 5.9.2
update CHANGELOG
2020-09-29 23:17:01 +08:00
YuAo b52b01d4a2 [SDWebImageTransition] Fix: `duration` is not used in the convenience initializers 2020-09-29 19:31:38 +08:00
DreamPiggy 3df06e9f4b
Merge pull request #3092 from dreampiggy/fix_animated_image_callback_when_stop
Fix the issue that SDAnimatedImageView will trigger an empty callback when animation stopped. This will cause some bad effect such as rendering a empty image or placeholder image (especially on iOS 14)
2020-09-28 14:13:47 +08:00
DreamPiggy 718ce14753 Update the test case about this stopAnimating behavior changes 2020-09-28 11:34:48 +08:00
DreamPiggy 7cc90666e8 Fix the issue that SDAnimatedImageView will trigger an empty callback when animation stopped. This will cause some bad effect such as rendering a empty image or placeholder image (especially on iOS 14) 2020-09-27 14:58:23 +08:00
DreamPiggy 7a21432a37 Bumped version to 5.9.1
update CHANGELOG
2020-09-11 18:51:23 +08:00
DreamPiggy 57ff3b2de9
Merge pull request #3081 from dreampiggy/bugfix_scale_regex
Fix the issue of SDAnimatedImage initWithContentsOfFile where the path name less than 3 characters
2020-09-06 10:27:41 +08:00
DreamPiggy c12781b843 Added the test case to ensure the scale detect function works 2020-09-04 16:36:56 +08:00
DreamPiggy 4f10e79f05 Fix the logic in SDAnimatedImage to detect scale from file path. Should not limit any path length 2020-09-04 16:36:30 +08:00
DreamPiggy f45c0441fd
Merge pull request #3078 from wtracyliu/fix_typos
fix typos in SDImageCache
2020-08-31 19:41:36 +08:00
Wentao Liu 70a57758c0 fix typos in SDImageCache 2020-08-31 19:03:05 +08:00
Kinarobin c0a9b4af09
Merge pull request #3076 from JonyFang/master
Bumped Copyright to cover 2020
2020-08-30 22:10:23 +08:00
JonyFang d932d1c239 Bumped Copyright to cover 2020
Signed-off-by: JonyFang <jony.chunfang@gmail.com>
2020-08-30 13:13:20 +08:00
DreamPiggy ae3d0a7703 Bumped version to 5.9.0
update CHANGELOG
2020-08-27 16:31:12 +08:00
DreamPiggy 1221e763cb
Merge pull request #3074 from dreampiggy/feature_transition_when_async_callback
Refactory the current behavior to use transition. Now it automatically do transition when manager callback asynchronously (if user see waiting, then do transition)
2020-08-27 14:39:43 +08:00