Commit Graph

1339 Commits

Author SHA1 Message Date
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 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 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
kinarob 2396c2e7c0 Fix get button background image operation key bug 2019-05-24 21:09:59 +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
zhongwuzw aa890c5d9a Guarantee caches of CachesManager thread-safe 2019-04-01 16:00:13 +08:00
DreamPiggy 9d4b53118e Move the declare and the define into the downloader, make the import success. Update to NSNotificationName 2019-03-31 23:07:20 +08:00
DreamPiggy 9f262fc8cf Fix that `SDWebImageDownloadStartNotification` declare twice in header files. One is in downloader, another is in download operation 2019-03-31 21:26:55 +08:00
DreamPiggy 2e7338894e Merge branch 'master' of https://github.com/SDWebImage/SDWebImage into 5.x
# Conflicts:
#	SDWebImage/SDWebImageManager.m
2019-03-31 19:41:17 +08:00
DreamPiggy 456b6eadc6
Merge pull request #2648 from dreampiggy/bugfix_filter_error_domain
Filter the error domain with NSURLErrorDomain before checking the URL Error Codes
2019-03-31 19:29:40 +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 75d3adedfa Update the coders manager initializer, without the useless mutable copy
Update the comments
2019-03-31 18:09:17 +08:00
DreamPiggy c913f2efc0 Merge branch 'master' of https://github.com/SDWebImage/SDWebImage into 5.x
# Conflicts:
#	SDWebImage/SDWebImageDownloader.m
2019-03-31 16:34:23 +08:00