Commit Graph

1739 Commits

Author SHA1 Message Date
DreamPiggy ca1d692efe
Merge pull request #2576 from zhongwuzw/fix-notification-retain-self
Retain operation when post download related notifications
2019-01-25 11:22:29 +08:00
DreamPiggy 5f6c2b907e
Merge pull request #2592 from dreampiggy/bugfix_webp_force_decode
Fix that WebP decoder in master branch, does not consider the global `shouldDecompressImages` config and always do pre-draw for static WebP images.
2019-01-25 11:10:43 +08:00
DreamPiggy 7bfc950b98 Merge branch 'master' of https://github.com/rs/SDWebImage into bugfix_webp_force_decode
# Conflicts:
#	SDWebImage/SDWebImageWebPCoder.m
2019-01-24 15:24:34 +08:00
DreamPiggy 3cb42b2987
Merge pull request #2596 from zhongwuzw/fix_ICCP
Fix potential memory leaks for ICCP && optimize ICCP handler
2019-01-22 17:10:58 +08:00
zhongwuzw c3b0f64017 update 2019-01-22 16:04:12 +08:00
zhongwuzw 5b1ad45889 Revert the colorSpace naming 2019-01-22 12:54:57 +08:00
DreamPiggy f9fe2bb7b6 Fix the hardcode to filter WebP for force decoding 2019-01-21 21:21:49 +08:00
DreamPiggy c804ba7ea8 Fix that WebP decoder in master branch, does not consider the global `shouldDecompressImages` config and always do pre-draw for static WebP images. 2019-01-21 21:21:49 +08:00
zhongwuzw 4c006ad573 Adjust indention, seems come from buggy Xcode 2019-01-19 20:46:05 +08:00
zhongwuzw fac703140c Fix potential memory leaks for ICCP && optimize ICCP handler 2019-01-19 17:59:59 +08:00
kinarobin bc50621670
Merge pull request #2585 from dreampiggy/bugfix_webp_icc_profile
Fix that WebP image with ICC Profile does not show color correctly, should use the profile colorspace instead of device colorspace
2019-01-18 11:16:23 +08:00
DreamPiggy 759e02eb30 Add test case for this special case of FLAnimatedImage loading 2019-01-14 13:07:45 +08:00
DreamPiggy 605caa409d Fix the FLAnimatedImage compatible code issue by introduce a private API to check for the special cases 2019-01-14 13:07:45 +08:00
zhongwuzw 3a470fc8b0 Using __block instead 2019-01-11 15:11:01 +08:00
DreamPiggy 73b7a26ccc Fix that WebP image with ICC Profile does not show color correctly, should use the profile colorspace instead of device colorspace 2019-01-11 14:17:08 +08:00
DreamPiggy 60f4365420
Merge pull request #2574 from zhongwuzw/fix-operation-creation-race-condition
Fix race condition for creation of download operation when isCancelled is YES but isFinished is NO
2019-01-08 15:01:34 +08:00
zhongwuzw c547adc2a9 Retain operation when post download related notifications 2019-01-07 17:05:03 +08:00
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