Commit Graph

1719 Commits

Author SHA1 Message Date
DreamPiggy 46fae667ea
Merge pull request #2627 from dreampiggy/bugfix_webp_icc_monochrome
Fix the issue when WebP contains the ICC Profile with colorSpace other than RGB, which cause the CGImageCreate failed
2019-02-26 17:50:20 +08:00
DreamPiggy 4e620c55a5
Merge pull request #2625 from dreampiggy/project_libwebp_dependency
Update the libwebp dependency to support using 1.0 version and above
2019-02-26 15:51:06 +08:00
DreamPiggy 8c3cfbdfc1 Fix the issue when WebP contains the ICC Profile with colorSpace other than RGB, which cause the CGImageCreate failed 2019-02-26 13:13:22 +08:00
DreamPiggy 7050a79c33 Update the libwebp dependency to support using 1.0 version and above, which can fix some rare WebP issues 2019-02-26 11:22:43 +08:00
DreamPiggy bede907ab7
Merge pull request #2624 from zhongwuzw/nil_image_data
Nil imageData before decode process to free memory
2019-02-26 11:13:28 +08:00
zhongwuzw 50f9ddd5a8 Nil imageData before decode process to free memory 2019-02-21 22:28:23 +08:00
Wu Zhong a54af636a8
Merge pull request #2621 from dreampiggy/bugfix_webp_icc_profile_crash
Fix that WebP with custom ICC Profile will randomly crash, because `CGColorSpaceCreateWithICCProfile` does not copy the ICC data pointer
2019-02-18 15:59:05 +08:00
Wu Zhong 5076a1dd45 Fix small typos 2019-02-18 15:35:35 +08:00
DreamPiggy c2a3e60955 Fix that WebP with custom ICC Profile will randomly crash, because `CGColorSpaceCreateWithICCProfile` does not copy the ICC data pointer, previous code cause a use-after-free issue 2019-02-18 15:35:35 +08:00
DreamPiggy 16b780b3cc
Merge pull request #2622 from dreampiggy/project_podspec_warning
Fix the unused user header search path warning for CocoaPods 1.6.0.
2019-02-18 15:06:20 +08:00
DreamPiggy 4c743c7f54 Fix the unused user header search path warning for CocoaPods 1.6.0. We already use the dependency of FL && libwebp Pods, these build configurations does not do anything 2019-02-17 17:41:24 +08:00
DreamPiggy ccb8b533c6 Bumped version to 4.4.5 2019-01-31 18:37:25 +08:00
DreamPiggy 50847380b1 Update the CHANGELOG and README 2019-01-31 18:35:33 +08:00
DreamPiggy e53fedaf48
Merge pull request #2607 from zhongwuzw/fix_webp_decompression
Fix modify data pointer if webp image scaled down
2019-01-31 18:06:47 +08:00
DreamPiggy bb9e4a1b09
Merge pull request #2606 from zhongwuzw/fix_disable_animated_images_decompress
Fix shouldDecode check when image format is GIF
2019-01-31 14:19:13 +08:00
zhongwuzw f0a4014aa9 Update the comment to show why we need filter GIF 2019-01-31 12:01:04 +08:00
Wu Zhong c7891b787c
Merge pull request #2612 from iliaskarim/patch-2
Fix typo in PULL_REQUEST_TEMPLATE.md
2019-01-31 09:30:23 +08:00
iliaskarim 5facf00f34
Fix typo in PULL_REQUEST_TEMPLATE.md 2019-01-30 10:05:42 -05:00
DreamPiggy 7567f74e1f
Merge pull request #2608 from zhongwuzw/fix_decompression_calculation
Fix wrong decompression scale calculation
2019-01-29 21:04:38 +08:00
zhongwuzw ed8c80551a Remove redundancy scale calculation 2019-01-29 19:42:09 +08:00
DreamPiggy 9b9b22dffb
Merge pull request #2604 from dreampiggy/revert_modular_framework
Revert modular framework
2019-01-29 19:20:43 +08:00
zhongwuzw 5dab8f0973 Fix wrong decompression scale calculation 2019-01-29 18:17:49 +08:00
zhongwuzw 5199c05606 Fix modify data pointer if webp image scaled down 2019-01-29 17:29:09 +08:00
zhongwuzw 05d3c7fdcb Fix shouldDecode check when image format is GIF 2019-01-29 16:23:37 +08:00
DreamPiggy b01bbbc5e6 Update the readme about the CocoaPods modular headers usage for Swift project 2019-01-28 20:23:55 +08:00
DreamPiggy c08489b16f Revert the `DEFINES_MODULE` of framework. Let the user to specify `modular_headers` instead, to solve some user's build issue. See #2601 2019-01-28 19:59:03 +08:00
DreamPiggy 0e8dc82891 Bumped version to 4.4.4
update CHANGELOG
2019-01-26 16:35:51 +08:00
DreamPiggy c09bd8b42a
Merge pull request #2588 from dreampiggy/bugfix_fl_placeholder_another_taste
Fix the FLAnimatedImage compatible code issue by introduce a private API
2019-01-26 16:19:49 +08:00
Kinarobin 35763e3376
Merge pull request #2558 from dreampiggy/bugfix_memory_cost_animating
Fix the current image cost (pixels) for FLAnimatedImage
2019-01-25 18:56:05 +08:00
DreamPiggy 2493071987
Merge pull request #2575 from zhongwuzw/prioritize_operation
Prioritize SDWebImageDownloaderHighPriority if operation already exists
2019-01-25 12:00:08 +08:00
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