Commit Graph

237 Commits

Author SHA1 Message Date
DreamPiggy caae8f171f Fix the test case because of cache key 2019-08-03 18:29:18 +08:00
DreamPiggy b444652412 Add more tests to ensure the callback been called, even we cancel the operation, impact the view category and prefetcher 2019-08-03 17:24:34 +08:00
DreamPiggy 4e51f1deac Merge branch 'master' of https://github.com/SDWebImage/SDWebImage into bugfix_user_cancel_guarantee_callback 2019-08-02 17:41:32 +08:00
DreamPiggy cd2e36f7a5 Add test cases for `matchAnimatedImageClass` options 2019-08-02 16:03:48 +08:00
DreamPiggy 67b29b9d07 Update all the test cases for cancel, now it should receive a completion with error code `SDWebImageErrorCancelled` 2019-08-02 13:32:08 +08:00
DreamPiggy 6f0f735d4f Update the test case for cancel behavior 2019-08-01 20:12:07 +08:00
DreamPiggy 5df70628be
Merge pull request #2780 from dreampiggy/project_upgrade_xcode_10
Follow App Store submit rule, upgrade the minimum Xcode version to Xcode 10.0
2019-07-03 16:45:56 +08:00
DreamPiggy 5c22cc73ae Update the project warning for unnecessary xcconfig files 2019-07-02 18:23:39 +08:00
DreamPiggy 6d626edaf8 Expose the memoryCache and diskCache object on `SDImageCache`, make it useful for user who have custom property beyond `SDImageCacheConfig` 2019-07-02 15:12:56 +08:00
DreamPiggy 3cd71190b3 Merge branch 'master' of https://github.com/SDWebImage/SDWebImage into remove_explicit_Tests_deployment 2019-06-30 12:07:16 +08:00
ifsnow fcaa7d6c7a Change the default value of accept request header 2019-06-27 18:42:50 +09:00
DreamPiggy df5be0e34c Update CI to use Xcode 10.2. Combine both the Example and Test Podfile into one. Make CocoaPods only generate one `Pods.xcodeproj` and fix the New Build System issue 2019-06-18 15:46:08 +08:00
DreamPiggy 8ce8a87b03 Merge branch 'master' of https://github.com/SDWebImage/SDWebImage into feature_transformer_cache_phase_1
# Conflicts:
#	Tests/Tests/SDWebImageManagerTests.m
2019-06-14 12:52:34 +08:00
DreamPiggy 4683e5a0ad Merge branch 'master' of https://github.com/SDWebImage/SDWebImage into feature_global_control_options
# Conflicts:
#	SDWebImage.xcodeproj/project.pbxproj
2019-06-13 11:50:41 +08:00
DreamPiggy f88798fe28 Add test about the store cache type && transformer cache type, make sure it works 2019-05-30 14:05:24 +08:00
DreamPiggy c66f5c90ef Replace the unavailable Demo test images with the new images from Kodak site 2019-05-29 15:12:14 +08:00
DreamPiggy 949024c2a6 Fix that all Example targets disable all NSLog output. We need to keep the log to investigate some issue from system framework 2019-05-29 14:24:01 +08:00
kinarob 3c24856541 `backgroundImageOperationKey` test should apply for SD_UIKIT only 2019-05-25 21:30:22 +08:00
kinarob 2396c2e7c0 Fix get button background image operation key bug 2019-05-24 21:09:59 +08:00
DreamPiggy 0dbcb98c6f Add test case for options manager, ensure it works 2019-05-23 21:55:39 +08:00
DreamPiggy 8adfe3faeb Add the test cases for SDImageCacheDecodeFirstFrameOnly on memory cache 2019-05-16 17:42:17 +08:00
DreamPiggy 1d5b411f3c Using the lazy property for `lock` and `runLoopMode` to ensure this will not cause crash and logic issue. Without need of checking on `setImage:` 2019-05-16 11:32:10 +08:00
DreamPiggy 63c0794ad8 Fix that SDAnimatedImageView initWithImage will skip the initialize logic and crash 2019-05-15 20:26:39 +08:00
kinarob 9f4bc99fe8 add macros checking in SDImageFilterTransformer 2019-05-06 14:38:31 +08:00
kinarob 430bebe274 Add cacheType checking in animatedImageView category 2019-05-06 11:33:26 +08:00
Bogdan Poplauschi 479fed6913 Revert explicitly set *_DEPLOYMENT_TARGET inside the Tests Xcode project. Initially changed in #2709 2019-04-29 15:57:12 +03:00
DreamPiggy bf047b6e1b Update more test cases for code coverage 2019-04-27 15:05:02 +08:00
DreamPiggy 873d9eddce Added many test case to ensure the code behavior. Upgrade the test coverage 2019-04-27 15:05:02 +08:00
DreamPiggy ccec69715d Fix the test project using the wrong min deployment target version 2019-04-27 14:40:08 +08:00
DreamPiggy 774ecaf40f Fix the test case compile issue of macOS 2019-04-25 20:49:23 +08:00
DreamPiggy feed2e5abd Update the test cases, using a 150x200 image (which width is not equal to height) to ensure the rotation works 2019-04-25 18:58:40 +08:00
DreamPiggy 9c6c4927fb Add test case for CGImage create decoded with EXIF orientation 2019-04-25 16:10:39 +08:00
DreamPiggy 9cce513a09 Add a simple test case to ensure SDAnimatedImageView should display the static NSImage 2019-04-25 14:13:56 +08:00
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