Commit Graph

204 Commits

Author SHA1 Message Date
zhongwuzw 522743f246 Merge master into fix_tint_image_bug 2019-04-03 14:51:16 +08:00
zhongwuzw 3a5a387485 Add tests for inversion check 2019-04-03 14:14:15 +08:00
zhongwuzw fa303a9b73 Update snapshot 2019-04-03 12:28:10 +08:00
zhongwuzw 2a4e96d8f5 Add test case to check inversion when do round corner operation 2019-04-03 12:10:21 +08:00
DreamPiggy 2640301e82 Change the optional method into required, force the custom loader author to provide the error check 2019-04-02 17:56:12 +08:00
DreamPiggy cc13b18c21
Merge pull request #2660 from dreampiggy/bugfix_caches_manager_lock
Fix the thread safe issue of caches manager and specify the default caches array value.
2019-03-31 18:34:44 +08:00
DreamPiggy f9e80d18eb Fix the current caches manager, does not apply the SDImageCache.sharedImageCache. Fix the thread safe issue of caches manager.
Update the test cases and documents about this behavior.
2019-03-31 15:36:04 +08:00
DreamPiggy cf7a5a626b Remove the unused intrinsicContentSize for SDAnimatedImageView. This is original from FL and it's proved to be a of FL itself, but not what UIKit/AppKit behavior. 2019-03-30 15:47:41 +08:00
DreamPiggy d9c8ba6da2
Merge pull request #2652 from dreampiggy/bugfix_xcconfig_xcode_10_2
Fix the issue cause build failure for Xcode 10.2
2019-03-28 15:10:36 +08:00
DreamPiggy 110b49633f Fix the warning of deprecated project localization after upgrading Xcode 10.2 2019-03-26 18:03:14 +08:00
DreamPiggy b09da860b9 Fix the issue cause build failure for Xcode 10.2.
Fix the wrong relative path of SDWebImage.xcodeproj
Fix the wrong xcconfig using ENABLE_BITCODE on debug configuration
2019-03-26 17:36:35 +08:00
DreamPiggy 9fe1eee005 Rename the SDImageLoaderProtocol method naming to avoid the Selector conflict with SDWebImageManager and cause misunderstanding usage 2019-03-25 18:44:41 +08:00
DreamPiggy c6fe902a30 Fix the SDWebImage Test project using the framework xcconfig, should ignore the prefix header 2019-03-21 19:38:09 +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
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 6bab2de69a Move some internal classes into private header files, make it easy to maintain the code 2019-03-09 15:25:44 +08:00
DreamPiggy e303b7aed6 Update the test case to ensure the encoding options work 2019-01-28 13:57:55 +08:00
DreamPiggy 2bfdac1f60 Update the test cases 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 759e02eb30 Add test case for this special case of FLAnimatedImage loading 2019-01-14 13:07:45 +08:00
DreamPiggy e6a4e74ed5 Revert the changes for unused public API, polish comments 2019-01-03 11:49:06 +08:00
DreamPiggy b68730bedf Use the more intuitive and suitable cache path for SDImageCache. Defaults now to `~Library/Caches/com.hackemist.SDImageCache/default/`, namespace controls the sub-directory name.
Remove the namespacePrefix property because now it's not follows what it says
2018-12-09 15:23:26 +08:00
DreamPiggy f663cab2c9 Merge branch 'master' of https://github.com/SDWebImage/SDWebImage into 5.x
# Conflicts:
#	CHANGELOG.md
#	README.md
#	SDWebImage.podspec
#	SDWebImage/FLAnimatedImage/FLAnimatedImageView+WebCache.m
#	SDWebImage/SDImageCache.m
#	SDWebImage/SDWebImageCompat.m
#	SDWebImage/SDWebImageDownloaderOperation.m
#	SDWebImage/SDWebImageManager.m
#	SDWebImage/UIView+WebCache.h
#	SDWebImage/UIView+WebCache.m
#	Tests/Tests/SDImageCacheTests.m
#	WebImage/Info.plist
2018-11-17 11:54:18 +08:00
Bogdan Poplauschi d89b735708 Fixed some warnings in the tests 2018-11-11 21:50:44 -06:00
Bogdan Poplauschi 887eeb4bc3 Fixes (use xcode10 image, no need for inputFileListPaths or outputFileListPaths) 2018-11-11 21:10:50 -06:00
Bogdan Poplauschi edb9c45859 Xcode 10 - upgraded schemes, using xcode10 Travis image, removed some deprecated methods from our demos + formatting
Using xcconfig files - easier to maintain all the settings appart from target files, less conflicts, can reuse the values
2018-11-11 20:19:33 -06:00
Bogdan Poplauschi 6c6d848cee Added 2 tests for #2516 Fix extention long length of file name 2018-10-28 20:49:44 +02:00
Bogdan Poplauschi 64123734c3 Move webp component (and libwebp dependency) to SDWebImage/SDWebImageWebPCoder
- move the webp component + the libwebp dependency to SDWebImage/SDWebImageWebPCoder (including tests and demo)
- Xcode 9.4
- instead of directly linking the Demos to the frameworks, using CocoaPods (`Examples/Podfile`). This allows using SDWebImage/SDWebImageWebPCoder into our examples so we keep the WebP demos
- demos code cleanup and warnings resolved
- all links from docs (README, Migration guide, CHANGELOG) are full links, so they work even from external pages (i.e. https://cocoapods.org/pods/SDWebImage).
- added "Additional modules" section to README
2018-09-07 12:40:25 +03:00
Bogdan Poplauschi 2bb336bc12 Merge pull request #2449 from dreampiggy/feature_set_image_block_extra_args
Feature set image block extra args
2018-08-28 12:36:55 +03:00
DreamPiggy 8c5db9484b Adopt all the protocol APIs which contains getter value to use property instead, to make the API easy to use or Swift user 2018-08-19 12:10:26 +08:00
DreamPiggy 0fb7268d2e Add the test case for cache serializer feature 2018-08-17 17:58:27 +08:00
DreamPiggy b400b51cca Fix the bug that `SDWebImageContextCacheKeyFilter` wrongly be used as cache serializer and cause crash 2018-08-17 17:20:17 +08:00
DreamPiggy 39893fbdac Merge branch 'master' of https://github.com/rs/SDWebImage into 5.x
# Conflicts:
#	Tests/Tests/SDCategoriesTests.m
#	Tests/Tests/SDTestCase.h
#	Tests/Tests/SDTestCase.m
2018-08-17 16:19:09 +08:00
DreamPiggy 3966200d6a
Merge pull request #2434 from dreampiggy/test_coder
Add more tests for image decoding/encoding part
2018-08-17 14:56:39 +08:00
DreamPiggy 26ebbba807
Merge pull request #2438 from dreampiggy/test_view_category
Add the test cases for View Transition and View Indicator, both iOS && macOS
2018-08-17 14:46:42 +08:00
DreamPiggy 50b6a09a9b Fix the test case testFLAnimatedImageViewSetImageWithURL because of remote resource is not available 2018-08-16 14:57:47 +08:00
DreamPiggy 04becbb02b Update the test to ensure the UIView sd_internalSetImageWithURL of setImageBlock behavior 2018-08-16 11:45:51 +08:00
DreamPiggy 8b26091741 Disable HEIC encoding check temporally for travis-ci 2018-08-10 23:49:35 +08:00
DreamPiggy 0ff95e2255 Update the view indicator and transition test 2018-08-10 23:25:17 +08:00
DreamPiggy 1d8454d356 Fix that the minimumProgressInterval should always callback the final finished progress but not ignore it 2018-08-10 22:41:22 +08:00
DreamPiggy 7ee0d06cf7 Add the test cases for View Transition and View Indicator, both iOS && macOS 2018-08-10 22:36:51 +08:00
DreamPiggy 7187aff159 Update SDAnimatedImage test and HEIC/HEIF test 2018-08-10 15:41:32 +08:00
DreamPiggy b0775361b5 Add more test about SDAnimatedImage 2018-08-10 15:26:14 +08:00
DreamPiggy 8bd5e5e44d Add more tests for animated coder 2018-08-10 15:26:14 +08:00
DreamPiggy fc23b93d08 Update the test about progressive decoding of other image format 2018-08-10 15:26:14 +08:00
Bogdan Poplauschi 83b5d22a56
Merge pull request #2417 from dreampiggy/feature_disk_cache_migration_from_4.x
Feature disk cache migration from 4.x
2018-08-08 12:47:20 +03:00
Bogdan Poplauschi 1d4823eb48 Merge pull request #2415 from dreampiggy/feature_minimum_progress_interval
Feature minimum progress interval
2018-08-04 19:11:04 +03:00
DreamPiggy d9d0b7d4bf Add the feature, to migrate the disk cache from 4.x version to the new location of cache path. 2018-08-03 17:32:04 +08:00
DreamPiggy e400d220c5 Update the test from merge conflict 2018-08-02 18:53:52 +08:00