Commit Graph

2221 Commits

Author SHA1 Message Date
DreamPiggy d76dd081ca
Merge pull request #2642 from zhongwuzw/break_retain_of_prefetch_block
Break strong retain cycle for prefetch block
2019-03-16 11:01:58 +08:00
zhongwuzw 0686584771 Remove shadow variable warning 2019-03-16 00:16:01 +08:00
zhongwuzw 9c3b7a84b7 Break strong retain cycle for prefetch block 2019-03-15 23:51:18 +08:00
DreamPiggy 21b2244b81 Bumped version to 5.0.0-beta6 2019-03-15 15:47:29 +08:00
DreamPiggy 4483cdcc23 update CHANGELOG 2019-03-15 15:46:17 +08:00
DreamPiggy 528871455d Update travis script to avoid using pre-release of cocoapods 2019-03-14 21:51:59 +08:00
DreamPiggy 41f11642b1 Merge branch 'master' of https://github.com/SDWebImage/SDWebImage into 5.x
# Conflicts:
#	CHANGELOG.md
#	SDWebImage.podspec
#	SDWebImage/SDWebImageDownloaderOperation.m
#	SDWebImage/SDWebImageWebPCoder.m
#	WebImage/Info.plist
2019-03-14 21:50:09 +08:00
DreamPiggy e36c505b17
Merge pull request #2641 from Insofan/5.x
simplify assign downloaderOperation's minimumProgressInterval code
2019-03-14 21:40:34 +08:00
Insofan ce753df0cc simplify assign downloaderOperation's minimumProgressInterval code 2019-03-14 15:27:29 +08:00
DreamPiggy 71bff450b3
Merge pull request #2635 from dreampiggy/bugfix_transformer_cache_key
Fix the current transformer cache key generating rules, try to keep the image file extension
2019-03-12 20:42:23 +08:00
Kinarobin c319ec8cc3
Merge pull request #2634 from dreampiggy/project_move_internal_class_into_private_headers
Move some internal classes into private header files, make it easy to maintain the code
2019-03-11 15:46:20 +08:00
DreamPiggy 146530e1a2 Change the naming of private headers of internal methods, from `+Private.h` naming into `Internal.h` naming, follow other popular framework's naming rules 2019-03-10 10:53:46 +08:00
DreamPiggy 9fb9ac7ad4 Fix the current transformer cache key generating rules, try to keep the image file extension as much as we can 2019-03-09 17:07:47 +08:00
DreamPiggy 44b39715bb
Merge pull request #2628 from zhongwuzw/fix_libwebp_version
Update libwebp constraint to lower 2.0
2019-03-09 15:34:11 +08:00
DreamPiggy 6bab2de69a Move some internal classes into private header files, make it easy to maintain the code 2019-03-09 15:25:44 +08:00
Kinarobin 78e408c537
Merge pull request #2631 from dreampiggy/bugfix_prefetch_concurrent_query_cache
Fix the issue that SDWebImagePrefetch in 5.x, will submit all prefetch URLs to manager without any concurrent limit
2019-03-09 13:40:08 +08:00
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