Commit Graph

1347 Commits

Author SHA1 Message Date
DreamPiggy 288725e54a Fix the Clang Static Analysis warning of `addEntriesFromDictionary:` API 2019-06-17 15:44:27 +08:00
DreamPiggy 5997f5a641
Merge pull request #2590 from dreampiggy/feature_transformer_cache_phase_1
Supports store original image to cache for transformer
2019-06-14 15:52:04 +08:00
DreamPiggy 4613ad7c8d
Merge pull request #2753 from dreampiggy/feature_supports_dynamic_indicator
Feature supports dynamic style indicator for iOS 13, fix indicator color on macOS 10.14+
2019-06-14 12:53:03 +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 d67aebeeed Fix that macOS indicator always use dynamic mode. Now only the `largeIndicator` and `mediumIndicator` supports dynamic dark mode switch 2019-06-13 17:03:27 +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 e81de4fa39 Update to support Xcode 9 and Xcode 10 currently, will upgrade the IDE version in later version 2019-06-10 20:42:23 +08:00
DreamPiggy 0379273b48 Add support for new system built-in indicator with medium and large style. Fallback on OS version which does not support dark mode 2019-06-10 20:13:25 +08:00
DreamPiggy a7a866b706 Fix the potential leak for SDAnimatedImageRep image source 2019-06-05 17:09:00 +08:00
DreamPiggy a98efdc40a Fix the SDAnimatedImageRep which use the deprecated API and cause compile issue on Xcode 11. Using self-created CGImageSource instance instead of super class implementation detail 2019-06-05 11:25:03 +08:00
DreamPiggy 294c337eae Support to custom the store cache type for original image when using image transformer. 2019-05-30 14:05:24 +08:00
DreamPiggy 0e255db4df
Merge pull request #2739 from dreampiggy/fix_encoding_imageio_warning
Fix that `CGImageDestinationCreateWithData` 0 count arg will log a warning
2019-05-29 14:07:13 +08:00
DreamPiggy e1b4e5a2d4 Fix that `CGImageDestinationCreateWithData` 0 count arg will log a warning, this does not effect the encoding function. 2019-05-29 12:37:50 +08:00
DreamPiggy d6852db8d0 Change the options result property into readonly, add documentations 2019-05-25 12:21:50 +08:00
kinarob 2396c2e7c0 Fix get button background image operation key bug 2019-05-24 21:09:59 +08:00
DreamPiggy 26d1a95cca Add SDWebImageOptionsProcessor, which can have a global control for both WebCache options and context option for image loading 2019-05-23 21:44:57 +08:00
DreamPiggy daad5338e2
Merge pull request #2725 from cntrump/master
fix issues: SDWebImageDecodeFirstFrameOnly flag is ignored when image loaded from cache
2019-05-16 17:33:54 +08:00
vvveiii bc2b52007c
fix issues: SDWebImageDecodeFirstFrameOnly flag is ignored when image loaded from cache. 2019-05-16 16:41:23 +08:00
DreamPiggy dbc412baf4 A little optimization code for runLooMode setter 2019-05-16 12:52:16 +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
DreamPiggy 5c13490eeb Replace the private prefix header files with the manually import for each implementation files 2019-05-13 15:38:24 +08:00
kinarob 8a8e527dea Fix typo in documentation page 2019-05-10 21:47:32 +08:00
DreamPiggy 0783287f95 Update the documentation coverage for jazzy. Use the correct format to provide class/protocol/type API Documentation 2019-05-10 17:20:49 +08:00
DreamPiggy c1d58106dc Fix one bug of the macOS API `SDScaledImageForKey`, which does not modify the bitmapImageRep's size when scale is not equal to 1 2019-04-27 15:05:02 +08:00
kinarob e837e0a3be Revert MAX() function in `SDImageScaleFactorForKey` 2019-04-26 17:34:13 +08:00
kinarob 2dd9fe4d9b Add MAX function with scale in `SDImageScaleFactorForKey` 2019-04-26 16:46:37 +08:00
kinarob 806e228867 Replace if judge with MAX() function in scale less 1 2019-04-26 16:35:54 +08:00
DreamPiggy 46bf112de5 Fix one bug of `sd_colorAtPoint:`, which set the alpha value default to 255, which should be 1 2019-04-25 20:48:53 +08:00
DreamPiggy 628e172047 Fix the wrong roration when the CGImage's width is not equal to its height 2019-04-25 18:14:23 +08:00
DreamPiggy 4dce559d44
Merge pull request #2706 from dreampiggy/bugfix_mac_SDAnimatedImage_NSImage
Fix the bug of SDAnimatedImageView, which can not render the normal NSImage (including animated image) at all. Only `SDAnimatedImage` can be rendered
2019-04-25 14:43:24 +08:00
DreamPiggy 8c93519191 Fix the bug of SDAnimatedImageView, which can not render the normal NSImage (including animated image) at all. Only `SDAnimatedImage` can be rendered 2019-04-25 13:23:34 +08:00
Mateusz Matrejek df2af72f79 Fixes typo in SDImageCacheConfig maxDiskAge info 2019-04-23 21:49:50 +02:00
zhongwuzw 0990af52a0 Prevent pointer static cast 2019-04-10 16:53:41 +08:00
zhongwuzw d1eea26cd6 Fixes crash for apng coder when properties are nil 2019-04-10 16:00:24 +08:00
DreamPiggy ca73bf0662
Merge pull request #2675 from zhongwuzw/iocoder_code_clean
Clean and consolidate some logic code in SDImageIOCoder
2019-04-04 11:45:38 +08:00
zhongwuzw 6e82c1d6d2 Remove BOOL local variable 2019-04-03 17:42:56 +08:00
zhongwuzw 8e5897338c Clean and consolidate some logic code in SDImageIOCoder 2019-04-03 17:37:51 +08:00
zhongwuzw 522743f246 Merge master into fix_tint_image_bug 2019-04-03 14:51:16 +08:00
zhongwuzw 66d294dbec Fix tint image bug which leads to image upside down 2019-04-03 12:24:41 +08:00
zhongwuzw b7ee2336c1 Fix rounded corner bug which leads to image upside down 2019-04-03 11:03:00 +08:00
zhongwuzw c369d70f12 Adjust coding style 2019-04-02 19:57:46 +08:00
zhongwuzw ec3b0590b0 Cancel latest image load when call cancelCurrentImageLoad 2019-04-02 19:44:23 +08:00
DreamPiggy 51aab09fdd
Merge pull request #2668 from dreampiggy/bugfix_error_domains_check
Fix the black list error domain should filter specify SDWebImageErrorDomain codes which is indeed un-recoverable
2019-04-02 18:13:55 +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
zhongwuzw 100869dd70 Fix caches manager operation thread safe issue 2019-04-02 16:59:57 +08:00
DreamPiggy 691873117a Fix the logic to check loaders. Find the correct loader first and then check if optional protocol method is implemented 2019-04-02 16:32:15 +08:00
DreamPiggy fa426f9b05 Update to use the delegate mode, let the actual image loader to decide whether to mark failed or not. 2019-04-02 15:00:07 +08:00
DreamPiggy 8275274154 Fix the blacking error domain should filter specify SDWebImageErrorDomain codes which is indeed un-recoverable 2019-04-02 12:09:27 +08:00
zhongwuzw 60255f5bd2 Thread-safe for CodersManager and LoadersManager 2019-04-01 17:19:11 +08:00