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
DreamPiggy
e142610455
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-13 18:17:28 +08:00
DreamPiggy
09aee5f534
Merge pull request #3066 from dreampiggy/feature_default_cache_path
...
Supports the user to customize the default disk cache directory, which can be used to share cache for App && App Extension
2020-08-13 10:40:38 +08:00
DreamPiggy
74a3d263c9
Update the comments and fix the coding style
2020-08-12 10:38:45 +08:00
DreamPiggy
5ed134fff6
Update the test case about default cache directory
2020-08-10 16:27:31 +08:00
DreamPiggy
1873b7198f
Supports the user to customize the default disk cache directory, which can be used to share cache for App && App Extension
2020-08-10 15:41:07 +08:00
DreamPiggy
40023d5668
Merge branch '5.8.x' of https://github.com/SDWebImage/SDWebImage
2020-07-16 21:38:53 +08:00
DreamPiggy
2f9ef53b99
Bumped version to 5.8.4
...
update CHANGELOG
2020-07-16 21:33:06 +08:00
kinarobin
0e0cc576da
early return when image load canceled
2020-07-16 21:29:23 +08:00
kinarobin
4ed1ce29dc
fix race condition when use transition
2020-07-16 21:29:23 +08:00
DreamPiggy
19ca248e93
Merge pull request #3053 from kinarobin/fix-race-condition-when-using-transition
...
Fix race condition when use transition but canceling an operation
2020-07-16 21:27:51 +08:00
kinarobin
8cde50d03d
early return when image load canceled
2020-07-16 20:52:15 +08:00