Commit Graph

2475 Commits

Author SHA1 Message Date
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 b8bb954213
Merge pull request #2602 from dreampiggy/bugfix_encoding_options
Bugfix encoding options
2019-01-28 20:26:02 +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 e303b7aed6 Update the test case to ensure the encoding options work 2019-01-28 13:57:55 +08:00
DreamPiggy df28feb99c Fix the silly bug that coders manager ignore all encoding options. Which cause many features during encoding does not works 2019-01-28 13:17:46 +08:00
DreamPiggy 2864fe3619 Bumped version to 5.0.0-beta4 2019-01-26 18:17:35 +08:00
DreamPiggy bb00bf1b73 Update the CHANGELOG and API diff 2019-01-26 18:16:22 +08:00
DreamPiggy 557b6985a8
Merge pull request #2569 from dreampiggy/rename_cache_memory_disk
Rename cache memory disk
2019-01-26 18:14:26 +08:00
DreamPiggy 2489913e95 Update some comments related to naming changes 2019-01-26 17:43:30 +08:00
DreamPiggy 2bfdac1f60 Update the test cases 2019-01-26 17:43:30 +08:00
DreamPiggy b3a3a26a04 Renaming the disk cache size/cache age method and property with disk keyword, clarify the meaning 2019-01-26 17:43:30 +08:00
DreamPiggy d90ca19d1b Revert the changes due to merge conflict. 2019-01-26 17:42:17 +08:00
DreamPiggy 4bb93d293f Merge branch 'master' of https://github.com/SDWebImage/SDWebImage into 5.x
# Conflicts:
#	CHANGELOG.md
#	SDWebImage.podspec
#	SDWebImage/FLAnimatedImage/FLAnimatedImageView+WebCache.m
#	SDWebImage/SDWebImageDownloader.m
#	SDWebImage/SDWebImageDownloaderOperation.m
#	SDWebImage/SDWebImageWebPCoder.m
#	SDWebImage/UIView+WebCache.h
#	SDWebImage/UIView+WebCache.m
#	Tests/Tests/SDCategoriesTests.m
#	WebImage/Info.plist
2019-01-26 17:02:27 +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 45b4d64bda
Merge pull request #2580 from zhongwuzw/fix_fail_url_block_logical
Revert failed block processing logic
2019-01-10 17:38:38 +08:00
zhongwuzw e71e58ea6d Revert failed block processing logic 2019-01-09 22:03:06 +08:00
kinarobin 4a52cce18a
Merge pull request #2578 from dreampiggy/refactory_manager_logic
Refactory manager logic, move code for readability and future maintain
2019-01-09 16:07:31 +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
DreamPiggy a1106d51f0 Move the block failed url logic into a separate method, filter the error codes not inside NSURLErrorDomain 2019-01-08 14:05:05 +08:00
DreamPiggy cf1d993b97 Move the cache storage logic after download, into a single function to enhance the readability 2019-01-08 13:50:52 +08:00
DreamPiggy ac1dd066cb
Merge pull request #2577 from zhongwuzw/fix_memory_cost
Fix memory cost override for SDAnimatedImage
2019-01-08 11:27:15 +08:00
zhongwuzw ccf5541a7d Fix memory cost override for SDAnimatedImage 2019-01-07 22:59:46 +08:00
DreamPiggy 6542eb36f7
Merge pull request #2568 from dreampiggy/refactory_memory_cache_cost
Use the memory bytes size, instead of pixel size to calculate the memory cost function
2019-01-07 21:49:10 +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 6dd92d11ff Use the memory bytes size, instead of pixel size to calculate the memory cost function 2019-01-03 15:59:22 +08:00
DreamPiggy b866c6aa97 Merge branch 'master' of https://github.com/SDWebImage/SDWebImage into 5.x
# Conflicts:
#	CHANGELOG.md
#	SDWebImage.podspec
#	SDWebImage.xcodeproj/project.pbxproj
#	SDWebImage/FLAnimatedImage/FLAnimatedImageView+WebCache.m
#	SDWebImage/SDImageCache.m
#	SDWebImage/SDWebImageDownloaderOperation.m
#	SDWebImage/UIView+WebCache.m
#	Tests/SDWebImage Tests.xcodeproj/project.pbxproj
2019-01-03 14:54:37 +08:00