Commit Graph

2193 Commits

Author SHA1 Message Date
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 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 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
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