Commit Graph

2591 Commits

Author SHA1 Message Date
DreamPiggy 1487f6762f Try to fix the SDAnimatedImageView's imageScaling and imageAligning behavior compared to the built-in NSImageView 2019-08-31 23:19:40 +08:00
DreamPiggy 491fefdd48
Merge pull request #2815 from dreampiggy/feature_animated_clear_when_stop
Support to clear frame buffer or reset frame index when stopped for SDAnimatedImageView
2019-08-30 21:19:44 +08:00
DreamPiggy dfa871b20e Fix that some option mask check with local BOOL variable, will result error result on 32 bit device. Use a macro help to solve this issue 2019-08-30 17:56:06 +08:00
DreamPiggy 70b8fec54a Fix the compile issue for test cases on macOS 2019-08-30 17:25:10 +08:00
kinarob dd8f58917f reuse frame buffer container 2019-08-28 15:25:42 +08:00
DreamPiggy 1f74aea686 Add the test case for these two new properties 2019-08-27 19:41:27 +08:00
DreamPiggy 1abc05e05c Add new properties `clearBufferWhenStopped` and `resetFrameIndexWhenStopped` 2019-08-27 17:40:05 +08:00
DreamPiggy 2350dcf77d Change the stale date for issues from 30 days to 60 days 2019-08-26 15:44:23 +08:00
DreamPiggy 8898909f1d
Merge pull request #2808 from dreampiggy/project_uikit_macos
Feature: Support UIKit for macOS (Catalyst)
2019-08-19 14:55:03 +08:00
DreamPiggy 1775374feb Update the XCFramework build script, fix the DerivedData path issue (avoid Xcode's default path conflict) and cleanup the code structure 2019-08-16 19:32:21 +08:00
DreamPiggy 0f27617152 Try to fix the Xcode 10 compatible 2019-08-16 17:26:13 +08:00
DreamPiggy 6185bcd788 Change the Travis-CI env to Xcode 10.3 2019-08-15 18:04:27 +08:00
DreamPiggy 0635a7cd59 Temporary comment the macOS catalyst build on Travis-CI, since it does not have macOS 10.15 env yet. 2019-08-15 17:57:28 +08:00
DreamPiggy 3e8c55e87b Update the travis-CI script for the macOS catalyst 2019-08-15 17:37:23 +08:00
DreamPiggy e0b9b9cde4 Update the XCFramework script for macOS catalyst 2019-08-15 17:32:27 +08:00
DreamPiggy 2aa0b8bae6 Update the travis ci script 2019-08-13 19:36:27 +08:00
DreamPiggy 940c09ff80 Remove `SDWebImage.xcodeproj` from the workspace, try to solve the Xcode New Build System issue of implicit dependency for `SDWebImage.framework` (Both CocoaPosd and SDWebImage.xcodeproj can produce this framework), which cause build issue 2019-08-13 19:34:23 +08:00
DreamPiggy cb2baac522 Update Podspec for MapKit supports catalyst 2019-08-13 13:23:13 +08:00
DreamPiggy 3f248552b3 Update the test case for catalyst 2019-08-13 13:22:10 +08:00
DreamPiggy 054c5186b8 Use UIImage.class for conformsToSelector detect, which fix the current Xcode 11 Beta5 's runtime behavior of UIKit for macOS 2019-08-12 20:55:07 +08:00
DreamPiggy 77e54697c5 Update the demo of UIKit for macOS, which should not contains the WatchKit Extension 2019-08-12 20:52:46 +08:00
DreamPiggy 1b7b377c60 Update the podspec for xcconfig 2019-08-12 20:51:01 +08:00
DreamPiggy e7edf7bc9d Update the xcconfig of UIKit for macOS config 2019-08-12 20:50:11 +08:00
DreamPiggy 0a3cd255a6 Bumped version to 5.1.0 2019-08-03 19:00:54 +08:00
DreamPiggy a09dd8aa74 update CHANGELOG 2019-08-03 19:00:07 +08:00
DreamPiggy c372e345f6
Merge pull request #2692 from dreampiggy/bugfix_user_cancel_guarantee_callback
Ensure we always callback user's completion block even when cancelled with `SDWebImageErrorCancelled` error code
2019-08-03 18:49:23 +08:00
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 54b6d9d3f8
Merge pull request #2802 from RomanPodymov/master
Add missing nullable and nonnull attributes
2019-08-02 18:35:50 +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 f5980e5fed
Merge pull request #2801 from dreampiggy/feature_ensure_image_class_match
Add a new option `SDWebImageMatchAnimatedImageClass`, to ensure we always match the custom image class instead of UIImage/NSImage class
2019-08-02 17:29:23 +08:00
DreamPiggy 00ed3fd1c7 Update the comments 2019-08-02 16:40:31 +08:00
DreamPiggy cd2e36f7a5 Add test cases for `matchAnimatedImageClass` options 2019-08-02 16:03:48 +08:00
DreamPiggy 43bb20af32 Using isSubclassOfClass instead == for animated image class matching check 2019-08-02 15:46:44 +08:00
DreamPiggy 95ed9e1576 A little coding style fix for block invoke 2019-08-02 13:34:42 +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 0dfbc233d8 Fix the cancel logic for download operation, because now we always callback your completion even it's cancelled 2019-08-02 13:30:24 +08:00
Roman Podymov e8e7b5fa00
Update UIImage+Transform.m 2019-08-02 00:03:20 +02:00
Roman Podymov 3d2f2fc2e0
Update UIImage+Transform.m 2019-08-02 00:00:35 +02:00
Roman Podymov 34fa90c7c5
Update UIImage+Transform.m 2019-08-01 23:57:38 +02:00
Roman Podymov 9cf6b6d6ce
Update NSImage+Compatibility.m 2019-08-01 20:12:32 +02:00
Roman Podymov dcf953d03a
Update UIImage+ForceDecode.m 2019-08-01 20:05:54 +02:00
DreamPiggy 6f0f735d4f Update the test case for cancel behavior 2019-08-01 20:12:07 +08:00
DreamPiggy 5b1a833732 Merge branch 'master' of https://github.com/SDWebImage/SDWebImage into bugfix_user_cancel_guarantee_callback 2019-08-01 20:05:48 +08:00
DreamPiggy 4e7d03d471 Add a new option `SDWebImageMatchAnimatedImageClass`, to ensure we always match the custom image class instead of UIImage/NSImage class. This may help for some rare case that user always need the specify image subclass (SDAnimatedImage) for their imageView (SDAnimatedImageView) instead of the built in one. 2019-08-01 19:54:52 +08:00
DreamPiggy f49c4fa483
Merge pull request #2799 from dreampiggy/update_readme_installation
Update the readme about Swift Package Manager and xcframework installation guide
2019-07-30 12:34:28 +08:00
DreamPiggy 3f7a3a8035 Merge branch 'master' of https://github.com/SDWebImage/SDWebImage into bugfix_user_cancel_guarantee_callback 2019-07-30 11:52:04 +08:00
DreamPiggy d6938fce7b update the readme about the manual install 2019-07-29 18:41:21 +08:00
kinarob 25c6cdf570 some typo in readme 2019-07-29 17:45:05 +08:00
DreamPiggy 7f1b5f05a2 Update the readme about Swift Package Manager and xcframework installation guide 2019-07-29 16:44:01 +08:00