Commit Graph

2305 Commits

Author SHA1 Message Date
DreamPiggy cf0738abd9 Move the SDAsyncBlockOperation into the private header folder, this class is only used inside framework 2019-03-06 13:05:22 +08:00
DreamPiggy 2ce3b706c8 Fix the issue that SDWebImagePrefetch in 5.x, will submit all prefetch URLs to manager without any limit, which cause the disk cache query pending until all finished
Because they are implementation details, we can not always assume the cache and downloader use a load balancing algorithm
2019-03-03 16:52:44 +08:00
DreamPiggy c35229251e
Merge pull request #2629 from zhongwuzw/update_comments
Update color space filter comment when create icc profile color space
2019-02-28 20:01:39 +08:00
zhongwuzw 31856f3cdb Update color space filter comment when create icc profile color space 2019-02-27 19:50:37 +08:00
zhongwuzw 3f173c48fc Update libwebp constraint to lower 2.0 2019-02-26 21:57:41 +08:00
DreamPiggy f023c9bb6c Bumped version to 4.4.6
update CHANGELOG
2019-02-26 18:32:00 +08:00
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 537affb9af Bumped version to 5.0.0-beta5 2019-01-31 19:10:57 +08:00
DreamPiggy d6db67282c Merge branch 'master' of https://github.com/SDWebImage/SDWebImage into 5.x
# Conflicts:
#	CHANGELOG.md
#	README.md
#	SDWebImage.podspec
#	SDWebImage/SDWebImageDownloaderOperation.m
#	SDWebImage/SDWebImageImageIOCoder.m
#	SDWebImage/SDWebImageWebPCoder.m
#	WebImage/Info.plist
2019-01-31 19:10:15 +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 da48dc6f6c
Merge pull request #2609 from zhongwuzw/remove_unnecessary_CGImage_check
Remove unnecessary CGImage check when encode first frame
2019-01-30 11:42:36 +08:00
zhongwuzw 403820f89e Remove unnecessary CGImage check when encode first frame 2019-01-29 22:07:43 +08: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 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