DreamPiggy
e9527b393a
Add optimalFrameCacheSize && predrawingEnabled options for FLAnimatedImage. It makes users to set optimal frame cache size of FLAnimatedImage after image load.
2018-05-16 15:35:55 +08:00
Bogdan Poplauschi
55d65569dc
Merge pull request #2318 from dreampiggy/bugfix_WebP_encode_color_mode
...
Fix WebP Encoding only works for RGBA8888 CGImage but not other color mode
2018-05-11 13:14:43 +03:00
DreamPiggy
18ee2352b0
Fix WebP Encoding only works for RGBA8888 CGImage but not other color mode.
...
Detect the current CGImage color mode, covert the all other case to RGB888/RGBA8888 using vImage
2018-05-10 14:22:51 +08:00
Bogdan Poplauschi
12fe445498
Merge pull request #2315 from dreampiggy/improvement_image_transition_user_interaction
...
Add `UIViewAnimationOptionAllowUserInteraction` as default options for convenient image transition
2018-05-09 12:50:53 +03:00
DreamPiggy
e9c824c95f
Merge pull request #2314 from dreampiggy/fix_duplicated_force_decode_imageIO
...
Remove the duplicated process to force decode (draw on bitmap context) in Image/IO's progressive decoding.
2018-05-07 19:41:40 +08:00
DreamPiggy
7ae1c149ad
Merge pull request #2313 from dreampiggy/performance_image_orientation
...
Remove the extra calculation of image orientation for ImageIO coder
2018-05-07 18:17:06 +08:00
DreamPiggy
ec37a48ba3
Add `UIViewAnimationOptionAllowUserInteraction` as default options for convenient image transition
2018-05-04 16:48:52 +08:00
DreamPiggy
ab854e3575
Remove the duplicated process to force decode (draw on bitmap context) in Image/IO's progressive decoding.
2018-05-04 16:38:17 +08:00
DreamPiggy
c6fa6e31fb
Remove the extra calculation of image orientation for ImageIO coder
2018-05-04 16:30:39 +08:00
DreamPiggy
22e532c9e3
Fix function storeImageDataToDisk description
2018-04-24 21:32:26 +08:00
Bogdan Poplauschi
bfa9670c2d
Merge pull request #2301 from plokijuhhb/plokijuhhb-patch-2
...
Fix function storeImageDataToDisk description
2018-04-24 16:05:57 +03:00
plokijuhhb
745dc38986
Fix function storeImageDataToDisk description
...
New Pull Request Checklist
I have read and understood the CONTRIBUTING guide
I have read the Documentation
I have searched for a similar pull request in the project and found none
I have updated this branch with the latest master to avoid conflicts (via merge from master or rebase)
I have added the required tests to prove the fix/feature I am adding
I have updated the documentation (if necessary)
I have run the tests and they pass
I have run the lint and it passes (pod lib lint)
This merge request fixes / reffers to the following issues: ...
Pull Request Description
####Description
There are some problems in this description
Or using marco like SDWebImageCompat avoid deadlocks
#ifndef dispatch_queue_sync_safe
#define dispatch_queue_sync_safe(queue, block)\
if (strcmp(dispatch_queue_get_label(DISPATCH_CURRENT_QUEUE_LABEL), dispatch_queue_get_label(queue)) == 0) {\
block();\
} else {\
dispatch_sync(queue, block);\
}
#endif
2018-04-24 00:33:54 +08:00
Bogdan Poplauschi
8154d16bb2
Merge pull request #2274 from dreampiggy/fix_coders_array
...
Fix the thread-safe issue for coders manager.
2018-04-19 08:34:43 +03:00
Bogdan Poplauschi
96ec9719a0
Merge pull request #2281 from dreampiggy/feature_scale_download_cache_options
...
Add `SDImageCacheScaleDownLargeImages` to allow cache to scale down large images if need
2018-04-18 09:22:13 +03:00
DreamPiggy
0dfeebefeb
Add `SDImageCacheScaleDownLargeImages` to allow cache to scale down large images if need
2018-04-14 22:14:59 +08:00
DreamPiggy
dfe4a66424
Fix the thread-safe issue for coders manager. Use lock and immutable object to keep `addCoder`, `removeCoder` thread-safe.
2018-04-12 13:40:10 +08:00
DreamPiggy
e549e1abeb
Merge pull request #2272 from dreampiggy/fix_force_decode_alpha
...
Fix that force decode not works for alpha-channel images.
2018-04-11 16:40:21 +08:00
DreamPiggy
46e5b196f8
Fix the test about alpha images force decode
2018-04-11 16:10:41 +08:00
DreamPiggy
49cecfe34a
Fix that force decode not works for alpha-channel images. This should only exclude animated images. All other images should use the display alpha info based on whether contains alpha or not to force decode
2018-04-11 14:15:27 +08:00
DreamPiggy
0f36f97ae8
Fix the documentation issue about cacheSerializer
2018-04-01 21:54:10 +08:00
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