DreamPiggy
5aa04257e7
Merge pull request #2832 from michaelmou/fix_symbol_mac
...
Fix macOS 10.10 symbol definition of NSURLSessionTaskPriorityHigh
2019-09-06 11:43:47 +08:00
毛泽智
050aa883c8
Fix (iOS 8 Foundation.framework extern these symbol but the define is in CFNetwork.framework. We just fix this without import ) but not available in MacOS
2019-09-05 22:20:41 +08:00
DreamPiggy
8ffbe8b8c1
Bumped version to 5.1.1
2019-09-05 00:03:59 +08:00
DreamPiggy
ac2ddc4d15
update CHANGELOG
2019-09-05 00:03:03 +08:00
DreamPiggy
40b3ed4f4f
Merge pull request #2820 from dreampiggy/bugfix_sdanimatedimageview_mac_aligning
...
Fix the macOS that SDAnimatedImageView does not works for imageScaling and imageAlignment properties
2019-09-04 20:13:39 +08:00
Kinarobin
c9ea3f12bf
Merge pull request #2825 from dreampiggy/fix_sdanimatedimageview_dealloc_on_global_queue
...
Fix the case when SDAnimatedImageView dealloc on the fetch queue, will cause it trigger the UIKit/AppKit method on non-main queue and captured by UI Main Thread Checker
2019-09-04 20:13:30 +08:00
DreamPiggy
ea76da958f
Merge pull request #2819 from dreampiggy/bugfix_options_mask_check_32bit
...
Fix that some option mask check with local BOOL variable, error result on 32 bit device.
2019-09-04 20:13:01 +08:00
DreamPiggy
cc47b24ca6
Change the stale date for issues from 30 days to 60 days
2019-09-04 20:06:51 +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
DreamPiggy
09f06159a3
Merge pull request #2797 from dreampiggy/fix_swift_pm
...
Fix SwiftPM integration issue on Xcode 11 beta
2019-07-28 12:48:06 +08:00
DreamPiggy
99857f346d
Fix SwiftPM build issue, by moving all the Core source files && headers, into SDWebImage/Core, which is used as public headers directory
2019-07-25 18:42:05 +08:00
DreamPiggy
b7b3d3d0c2
Fix the Swift PM build issue
2019-07-23 15:02:40 +08:00
DreamPiggy
6d4e166b8b
Change current behavior. All the user cancelled code will trigger the callback (including both cache && download). The error code name changed to `SDWebImageErrorCancelled` to represent both cases
2019-07-19 18:07:41 +08:00
DreamPiggy
841662d36a
Merge pull request #2792 from kinarobin/add_autoreleasepool_in_prefetcher
...
Add a autoreleasepool when prefetch many images
2019-07-19 11:34:41 +08:00
kinarob
d51b9e6802
add a autoreleasepool when prefetch many images
2019-07-18 18:53:57 +08:00
DreamPiggy
a2b3a57bb2
Change the lock into @synchronized to ensure the operation callback is always get attached correctly, avoid the callback is not get called
2019-07-18 17:42:44 +08:00
DreamPiggy
f2fb26d1c6
Merge branch 'master' of https://github.com/SDWebImage/SDWebImage into bugfix_user_cancel_guarantee_callback
2019-07-18 16:12:35 +08:00
DreamPiggy
834ce0875d
Merge pull request #2789 from kinarobin/create_weak_cache_only_apply_to_iOS/tvOS_platform
...
Only create weak cache in iOS/tvOS platform.
2019-07-12 11:26:29 +08:00
kinarob
f319864dd8
Just crete weak cache in iOS/tvOS platform
2019-07-12 10:09:38 +08:00
DreamPiggy
2d62616cb0
Merge pull request #2782 from kinarobin/fix_frame_buffer_bug_when_displayLink_is_pause
...
Fix frame buffer bug when display link is pause
2019-07-09 23:33:00 +08:00
kinarob
9fa869c40b
get fetch queue via instance
2019-07-09 15:14:57 +08:00
Kinarobin
5e2bdc60a7
Merge pull request #2785 from dreampiggy/bugfix_uibutton_convenient_method
...
Fix the bug that UIButton setBackgroundImage convenient method does not pass the options arg to next function call
2019-07-08 19:21:27 +08:00
DreamPiggy
fc3382591a
Fix the bug that UIButton setBackgroundImage convenient method does not pass the options arg to next function call, cause the options miss.
2019-07-08 18:46:10 +08:00
kinarob
7605053cf5
fix frame buffer bug when display link is pause
2019-07-05 21:14:03 +08:00