Commit Graph

2987 Commits

Author SHA1 Message Date
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
DreamPiggy bcda3f5000 Change to always return SDImageCacheTypeDisk cache type when querying memory cache (unless user cancel the query) 2020-08-27 11:08:12 +08:00
DreamPiggy 2c9eaccf23 Remove the `SDWebImageForceTransitionAsync`, change the default behavior because it's most suitable for UI rendering and common use case. No need this hack. If user want, we may produce a `setTransitionBlock` in the future 2020-08-27 10:49:57 +08:00
DreamPiggy 6f61b7e37e Added the test case about the doing transition when async callback 2020-08-24 16:46:35 +08:00
DreamPiggy df0f6008fc Refactory the current behavior to use transition. Introduce `SDWebImageForceTransitionAsync` (compared to old one `SDWebImageForceTransitionAlways`) 2020-08-24 16:24:39 +08:00
DreamPiggy 35578f0524
Merge pull request #3067 from dreampiggy/bugfix_scale_down_too_small_pixels
Add the support to pass small bytes to `decodedAndScaledDownLargeImage`, which always scale down (at least 1x1 pixel) but not return the original size
2020-08-24 14:49:04 +08:00
DreamPiggy 2a27c9cbbd
Merge pull request #3072 from dreampiggy/fix_format_detech_small_svg
Fix the image format detection for smaller SVG which less than 100 Bytes
2020-08-21 17:01:22 +08:00
DreamPiggy c0e34ee391 Update some comments and fix typo 2020-08-15 19:41:48 +08:00
DreamPiggy 6b0ef2e741 Update the new test cases about this new behavior 2020-08-15 19:36:05 +08:00
DreamPiggy 01e5e429fd Change the behavior, supports to scale down to at least 4 Bytes (1x1 pixels) image. Does not hard-code limit 1MB 2020-08-15 19:24:15 +08:00
DreamPiggy f9a089d437 Fix the image format detection for smaller SVG which less than 100 Bytes. 2020-08-15 18:50:40 +08:00
DreamPiggy c1a5546350 Add the test case about the protect code, though in theory this can not be triggered. Need 87381 pixel width 2020-08-15 18:48:01 +08:00
DreamPiggy a746a3a136 Add a protect when tile rectangle is too small to calculate when using `SDWebImageScaleDownLargeImages` 2020-08-15 18:48:01 +08:00
DreamPiggy b483ec2959
Merge pull request #3070 from dreampiggy/bugfix_exif_thumbnail_pixel_size_large
Fix the bug when the thumbnail pixel size is larger than the pixel size, and the image has EXIF orientation, the final UIImage will use wrong image orientation
2020-08-14 14:19:45 +08:00
DreamPiggy dff33028a0 Added test case about this EXIF orientation and thumbnail decoding fix 2020-08-13 18:26:04 +08:00