DreamPiggy
d6cb5adab8
Merge pull request #2260 from dreampiggy/fix_wrong_nsarray_generics
...
Fix the wrong declaration of NSArray generics
2018-03-24 14:32:49 +08:00
DreamPiggy
bb5bd74b81
Fix the wrong declaration of NSArray generics
2018-03-23 22:09:04 +08:00
DreamPiggy
dc5c974b89
Bumped version to 4.3.3
...
update CHANGELOG
2018-03-12 23:06:02 +08:00
DreamPiggy
9ca9fa3d96
Merge pull request #2245 from dreampiggy/feature_cache_serializer
...
Add cacheKeyFilter to allow user provide modified version of data when storing the disk cache in SDWebImageManager
2018-03-12 22:57:34 +08:00
DreamPiggy
91e4118b6e
Merge pull request #2246 from dreampiggy/feature_failed_url_delegate
...
Add a delegate method to control the custom logic when blocking the failed url
2018-03-09 16:42:08 +08:00
DreamPiggy
f364962004
Add a delegate method to control the custom logic when blocking the failed url
2018-03-08 12:45:12 +08:00
DreamPiggy
51024a34f7
Add cacheKeyFilter to allow user provide modified version of data when storing the disk cache in SDWebImageManager
2018-03-08 12:13:52 +08:00
DreamPiggy
92cb7cd8fc
Merge pull request #2242 from sberrevoets/master
...
Enable CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF
2018-03-08 10:46:38 +08:00
DreamPiggy
2aa7aefa2e
Merge pull request #2244 from wuwm/master
...
Clarify the block comment in SDWebImageManager
2018-03-08 10:46:08 +08:00
Weiming Wu
09639a8795
Clarify the block comment in SDWebImageManager
2018-03-07 18:09:48 -08:00
Scott Berrevoets
3ceb8308eb
Enable CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF
...
This enables the CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF warning on all
targets. #2225 fixed a number of these, but a new one crept back in so
this fixes that issue as well.
2018-03-07 14:40:53 -08:00
DreamPiggy
5147ae5c89
Bumped version to 4.3.2
...
update CHANGELOG
2018-02-28 12:05:42 +08:00
DreamPiggy
48dd190835
Merge pull request #2232 from dreampiggy/improvement_add_operation
...
Follow Apple's doc, add NSOperation only after all configuration done.
2018-02-28 11:42:42 +08:00
DreamPiggy
6318776427
Merge pull request #2231 from dreampiggy/fix_iOS8_priority_symbol_crash
...
Fix that iOS 8 NSURLSessionTaskPriorityHigh symbol not defined in Foundation framework and cause crash
2018-02-28 02:18:27 +08:00
DreamPiggy
776ce2b85e
Follow Apple's doc, add NSOperation only after all configuration done.
2018-02-28 01:11:20 +08:00
DreamPiggy
a2eb8958ab
Update the comments
2018-02-28 00:04:56 +08:00
DreamPiggy
49acbdf9a9
Fix that iOS 8 NSURLSessionTaskPriorityHigh symbol not defined in Foundation framework and cause crash
2018-02-27 23:50:41 +08:00
DreamPiggy
71caeb82e4
Bumped version to 4.3.1
2018-02-25 22:53:33 +08:00
DreamPiggy
8ec529521c
update CHANGELOG
...
Update the changes for 4.3.1
2018-02-25 22:50:50 +08:00
DreamPiggy
37e93a1e7c
Merge pull request #2228 from dreampiggy/improvement_weak_cache
...
Create a subclass of NSCache using a weak cache.
2018-02-25 11:47:01 +08:00
DreamPiggy
216dfebc4a
Create a subclass of NSCache using a weak cache. Only remove the cache when memory warning and sync back the alive instance from weak cache into cache.
2018-02-23 23:34:55 +08:00
DreamPiggy
1986669d49
Merge pull request #2199 from dreampiggy/performance_decode_in_operation_queue
...
Decode the image in the operation level's queue instead of URLSession delegate queue
2018-02-21 16:07:48 +08:00
DreamPiggy
efdeca4f99
Merge pull request #2225 from dreampiggy/fix_block_implicit_retain_self
...
Fix CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF warning
2018-02-21 15:51:50 +08:00
DreamPiggy
e11ac90387
Merge pull request #2223 from dreampiggy/improvement_macOS_gif_duration
...
Create a subclass of NSBitmapImageRep to fix the GIF frame duration issue on macOS
2018-02-21 15:45:23 +08:00
DreamPiggy
ad02e3eaae
Fix CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF warning
2018-02-21 15:30:37 +08:00
DreamPiggy
47b77b7448
Disable travis-ci email notification
2018-02-20 21:18:14 +08:00
DreamPiggy
9c3928a9db
Fix prefetcher test to first clear the disk cache, and manager test to only fulfill the finished one
2018-02-20 21:18:08 +08:00
DreamPiggy
7a737acd85
Improve the travis-ci to not clean the build for dynamic framework to speed up the demo build
2018-02-20 21:17:57 +08:00
DreamPiggy
fc1fd0a74e
Create a subclass of NSBitmapImageRep to fix the GIF frame duration issue on macOS
2018-02-18 17:52:13 +08:00
DreamPiggy
3054a38c0e
Merge pull request #2220 from dreampiggy/improvement_FLAnimatedImage_expose
...
Expose the read write to FLAnimatedImage associate to the UIImage to allow advanced feature like placeholder
2018-02-18 15:41:43 +08:00
DreamPiggy
7eff69685a
Use lock instead of barrier queue to keep callbacks block thread-safe
2018-02-18 00:16:49 +08:00
DreamPiggy
aeb5194dc4
Decode the image in the operation level's queue instead of URLSession delegate queue. Because URLSession delegate queue is a barrier queue and shared between different operations
2018-02-18 00:07:14 +08:00
DreamPiggy
26e77d0f04
Expose the read write to FLAnimatedImage associate to the UIImage to allow advanced feature like placeholder
2018-02-13 21:22:34 +08:00
DreamPiggy
a54d1d7a2f
Fix that SDImageCacheQueryDataWhenInMemory should response cacheType to memory cache when the in-memory cache hit ( #2218 )
2018-02-12 21:20:49 +08:00
DreamPiggy
aa4cde9389
Update the docs
...
Update `HowToUse` section to indicate the usage for SDWebImageQueryDataWhenInMemory
2018-02-10 11:30:43 +08:00
DreamPiggy
2646b3a1f2
Improvement download operation for priority and some protect ( #2208 )
...
* Add a cache check for 304 response when using NSURLCache
* Remove the extra cost to nil the imageData because at this time operation is already been cancelled or done
* Fix download operation may not marked as finished when data task create failed
* A little code reorder
* Adopt the priority options to change URLSessionTask's priority
2018-02-08 11:22:26 +08:00
DreamPiggy
bd22ad8725
Merge pull request #2206 from dreampiggy/fix_macOS_deployment_version
...
Fix the macOS wrong minimum deployment target version to 10.9
2018-02-01 13:50:31 +08:00
DreamPiggy
3ba496c811
Update the readme about macOS minimum deployment target version
2018-02-01 13:20:55 +08:00
DreamPiggy
aacca305c0
Fix the macOS wrong minimum deployment target version to 10.9. And also fix the warning on Xcode 9 by enable more warning options
2018-02-01 13:20:55 +08:00
DreamPiggy
406220bb52
Bumped version to 4.3.0
...
updated CHANGELOG
2018-02-01 11:23:34 +08:00
DreamPiggy
3c80b0e2af
update CHANGELOG
...
Update the changes for 4.3.0
2018-01-31 18:58:57 +08:00
DreamPiggy
f1d46a0385
Merge pull request #2204 from dreampiggy/fix_downloader_headers_thread_safe
...
Use a lock to ensure headers mutable dictionary thread-safe
2018-01-31 16:31:05 +08:00
DreamPiggy
0065f88696
Update the readme
...
Move the Common Problems to wiki page and reorder the Get Started section
2018-01-31 11:40:51 +08:00
DreamPiggy
79ae7be719
Update the readme and issue template
...
Provide the wiki page and make issue template up to date
2018-01-31 11:00:09 +08:00
DreamPiggy
7f6dbd4e34
Use a lock to ensure headers mutable dictionary thread-safe
2018-01-31 03:22:10 +08:00
DreamPiggy
5b7f669bc1
Do not hard-code cache policy. Use SDWebImageDownloaderUseNSURLCache to check
2018-01-30 12:50:50 +08:00
DreamPiggy
37a062adc2
Merge pull request #2197 from dreampiggy/fix_urlcache_behavior_and_leak
...
Ensure all the session delegate completionHandler called
2018-01-30 10:51:51 +08:00
DreamPiggy
9080afdbac
Use the correct way to specify cancel if the response status code is invalid.
2018-01-29 14:12:00 +08:00
DreamPiggy
dd68f2f2d4
Ensure all the session delegate completionHandler called. Fix the leak when response error code below iOS 10
2018-01-29 14:12:00 +08:00
DreamPiggy
a9a123fc74
Merge pull request #2196 from dreampiggy/fix_prefetcher_recursion_stackoverflow
...
Fix the issue that prefetcher will cause stack overflow is the input urls list is huge because of recursion function call
2018-01-28 19:30:48 +08:00