Commit Graph

1722 Commits

Author SHA1 Message Date
zhongwuzw 8a743950e2 Prioritize SDWebImageDownloaderHighPriority if operation already exists 2019-01-07 16:24:41 +08:00
zhongwuzw 6becff0f06 Fix race condition for creation of download operation when isCancelled is YES but isFinished is NO
Fix race condition for creation of download operation when isCancelled is YES but isFinished is NO

update comment
2019-01-07 16:05:53 +08:00
DreamPiggy 3b19e76c6f Update the code for UIAnimatedImage associated with FLAnimatedImage case...This can happen when enable `GIF coder` as well as using FLAnimatedImageView 2019-01-03 14:21:18 +08:00
DreamPiggy c381506932 Fix the current image cost (pixels) for FLAnimatedImage, with a more correct value for memory cost function 2019-01-03 14:15:27 +08:00
DreamPiggy c95be0994e Update the category's naming for memory cache cost, a little code enhancement to avoid NSNumber generation 2019-01-03 12:08:18 +08:00
DreamPiggy e6a4e74ed5 Revert the changes for unused public API, polish comments 2019-01-03 11:49:06 +08:00
DreamPiggy 1700f9726d
Merge pull request #2486 from zhongwuzw/fix-cache-cost-miscalculation-for-master
Fix memory cache image cost miscalculation for animated images. Introduce the customized cost function for advacend feature.
2019-01-03 11:41:41 +08:00
Wu Zhong 6026cade7b
Merge pull request #2570 from dreampiggy/fix-background-download-4.x
Fix background download 4.x
2018-12-28 16:00:15 +08:00
zhongwuzw 9725c8da72 Remove edge case check 2018-12-28 11:14:19 +08:00
zhongwuzw 181d367215 Fix background download operation
FIx background download

Add task check when operation will deallocated && tidy code
2018-12-28 11:14:13 +08:00
zhongwuzw c58642976f put FLAnimatedImage fix into another PR 2018-12-27 21:30:07 +08:00
DreamPiggy 87f5f8b42f
Merge pull request #2556 from zhongwuzw/fix_nsmaptable_crash
Fix crash when NSMapTable empty keys
2018-12-13 19:36:21 +08:00
zhongwuzw 216ba9c7e1 Fix crash when NSMapTable empty keys 2018-12-10 10:41:17 +08:00
zhongwuzw cff0f33430 Add update image memory cost method 2018-12-09 11:56:51 +08:00
zhongwuzw 45427b1eed Merge branch 'remote-master' into fix-cache-cost-miscalculation-for-master 2018-12-09 10:45:38 +08:00
Chester Liu 9c527f0ebe
Merge pull request #2549 from zhongwuzw/add_define_module
Let SD can be imported using static library by CocoaPods
2018-12-09 09:06:56 +08:00
DreamPiggy 2cebcb7419 updated CHANGELOG 2018-12-05 18:36:45 +08:00
DreamPiggy 32d096a478
Merge pull request #2548 from SDWebImage/revert-2531-fix_reuse_wrong_image
Revert "Add image url check when set image"
2018-12-05 18:25:15 +08:00
zhongwuzw 72a34cf2cf Let SD can be imported using static library by CocoaPods 2018-12-03 10:58:24 +08:00
DreamPiggy 1b1cf603ed
Revert "Add image url check when set image" 2018-12-01 14:56:31 +08:00
Wu Zhong 2bdc51e65c
Merge pull request #2543 from langyanduan/master
fix: FLAnimatedImage custom property
2018-11-29 13:07:57 +08:00
langyanduan f47d60a802 fix: FLAnimatedImage custom property 2018-11-29 11:10:51 +08:00
Bogdan Poplauschi 4fd0e83521
Merge pull request #2531 from zhongwuzw/fix_reuse_wrong_image
Add image url check when set image
2018-11-16 10:28:40 -06:00
zhongwuzw c95c35d6db Add image url check when set image 2018-11-15 13:55:32 +08:00
Bogdan Poplauschi 944c57eaa9
Merge pull request #2530 from zhongwuzw/fix_flanimatedImage_step_2
Fix FLAnimatedImageView reuse wrong image && remove GCD strong retained
2018-11-14 09:40:07 -06:00
Bogdan Poplauschi 226f92f344
Merge pull request #2529 from zhongwuzw/fix_cacheType
Fix wrong image cache type when disk and memory cache missed
2018-11-14 09:38:05 -06:00
zhongwuzw 7e7a332278 Fix FLAnimatedImageView reuse wrong image && remove GCD strong retained 2018-11-14 21:03:29 +08:00
zhongwuzw 5611863f6a Fix wrong image cache type when disk and memory cache missed 2018-11-14 16:18:50 +08:00
Bogdan Poplauschi e056218bbf Bumped version to 4.4.3 + updated CHANGELOG 2018-11-11 20:58:55 -06:00
Bogdan Poplauschi 0e77a30000
Merge pull request #2441 from dreampiggy/performance_FLAnimatedImage_compatible_code
Revert the hack code for FLAnimatedImage compatible, because of the FLAnimatedImage initializer method block main queue.
2018-11-12 04:44:47 +02:00
Bogdan Poplauschi f7cd511941 Merge pull request #2511 from tshirt101/master
Tidy up spacing
2018-11-11 20:30:59 -06:00
zhongwuzw 62ce1d3b5e Fix macos build failed 2018-11-11 22:16:03 +08:00
zhongwuzw 3fbb7856e5 Transform protocol to category 2018-11-11 21:39:12 +08:00
Bogdan Poplauschi 3d62cfc507
Merge pull request #2520 from lhnoah/master
Optimize when scale = 1
2018-10-30 10:02:52 +02:00
Noah 2ac9b2fc6a Update SDWebImage/SDWebImageCompat.m 2018-10-30 15:00:25 +08:00
Noah 042c27ec8c Optimize when scale = 1 2018-10-30 01:26:44 +08:00
Bogdan Poplauschi 6c6d848cee Added 2 tests for #2516 Fix extention long length of file name 2018-10-28 20:49:44 +02:00
Bogdan Poplauschi 8d788abf45
Merge pull request #2516 from zhongwuzw/fix_long_path_name
Fix extention long length of file name
2018-10-28 20:33:18 +02:00
zhongwuzw 41214cccae Fix extention long length of file name 2018-10-28 17:59:52 +08:00
Wu Zhong b5afc32d1b
Merge pull request #2512 from SDWebImage/stale_bot_config
Added Stale bot config
2018-10-26 18:33:35 +08:00
Bogdan Poplauschi 54e60ec5e1 Added Stale bot config - decided on 30 days (issues) / 60 days (prs) to mark as stale + another 7 to close 2018-10-26 13:09:20 +03:00
tshirt101 2c6ee46c57
Update 2018-10-25 19:12:38 +05:30
Bogdan Poplauschi ab06c9080d
Merge pull request #2510 from zhongwuzw/update-url
Update url after framework transferred
2018-10-24 19:53:21 +03:00
zhongwuzw 8d3becfae8 Update url after framework transferred 2018-10-24 17:34:55 +08:00
Bogdan Poplauschi f9d05d921e
Update README.md 2018-10-24 09:44:50 +03:00
zhongwuzw 504dc10491 Take images into account 2018-09-13 10:48:52 +08:00
zhongwuzw 991fd89985 Fix memory cache image cost miscalculation for 4.x 2018-09-12 23:04:45 +08:00
Bogdan Poplauschi 88d3e281ca
Merge pull request #2475 from zhongwuzw/add_autoreleasepool_to_gcd_block
Add autoreleasepool to release autorelease objects in advance when using GCD for 4.x
2018-09-08 19:50:39 +03:00
zhongwuzw 733f465e5c Add autoreleasepool to release autorelease objects in advance when using GCD for 4.x 2018-09-07 22:44:21 +08:00
DreamPiggy 9de56b013a
Merge pull request #2463 from zhongwuzw/fix-disk-size-check-for-master
Fix resource key invalid when clean cached disk file
2018-08-24 18:26:45 +08:00