DreamPiggy
6d7d89cd3b
Merge branch '5.x' into fix-safe-async
2018-05-22 20:43:57 +08:00
zhongwuzw
7515f06b44
Minor optimize for dispatch_queue_async_safe
2018-05-22 20:34:41 +08:00
zhongwuzw
7d170d47d9
Remove dispatch_queue_async_safe && optimize dispatch_main_async_safe
2018-05-21 17:51:07 +08:00
DreamPiggy
42e9376db4
Merge pull request #2327 from dreampiggy/bugfix_macOS_incremental_decoding
...
Fix the progressive decoding bug on macOS. Including image orientation & SDAnimatedimageView
2018-05-21 17:37:18 +08:00
DreamPiggy
a34133b864
Fix the progressive decoding bug on macOS. Including image orientation & SDAnimatedimageView
2018-05-21 15:50:06 +08:00
DreamPiggy
0a0bdc92db
Merge branch 'master' of https://github.com/rs/SDWebImage into 5.x
...
# Conflicts:
# SDWebImage/SDWebImageImageIOCoder.m
# SDWebImage/SDWebImageWebPCoder.m
# Tests/Tests/SDImageCoderTests.m
2018-05-17 11:24:47 +08:00
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
1f50833567
Merge pull request #2319 from dreampiggy/bugfix_5.x_image_cache_options
...
Bugfix 5.x image cache options
2018-05-11 13:15:28 +03: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
55584b7e91
Remove one unused header
2018-05-10 14:49:48 +08:00
DreamPiggy
5df8f2a8b9
Fix image cache options issue, remove the unused `SDImageCacheTransformAnimatedImage`
2018-05-10 14:49:15 +08: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
Bogdan Poplauschi
df69e8c492
Merge pull request #2311 from dreampiggy/bugfix_WebP_encode_color_mode
...
Bugfix webp encode color mode
2018-05-09 12:47:07 +03:00
Bogdan Poplauschi
02b0f8cb14
Merge pull request #2312 from dreampiggy/feature_cache_query_options
...
Add options to specify query cache sync/async behavior
2018-05-09 12:41:57 +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
d7ceb2764b
Add options to specify query cache sync/async behavior. This can help for web cache manager to avoid flashing during cell reusing.
2018-05-03 21:00:20 +08:00
DreamPiggy
9bf79ab85b
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-02 23:43:27 +08:00
Bogdan Poplauschi
ebfe2cedc2
Merge pull request #2306 from dreampiggy/renaming_coder_protocol_and_coders
...
Renaming coder protocol and coders
2018-04-26 19:08:34 +03:00
Bogdan Poplauschi
18ecf8f96e
Merge pull request #2305 from dreampiggy/renaming_coder_helper
...
Renaming SDWebImageFrame & SDWebImageCoderHelper
2018-04-26 18:54:50 +03:00
Bogdan Poplauschi
5bedca7473
Merge pull request #2304 from dreampiggy/renaming_image_transformer
...
Renaming image transformer
2018-04-26 18:49:52 +03:00
Bogdan Poplauschi
f185418014
Merge pull request #2294 from dreampiggy/renaming_progressive_load
...
Renaming progressive load
2018-04-26 18:45:23 +03:00
DreamPiggy
0423cc2cf0
Update the test for image coder renaming
2018-04-26 23:21:26 +08:00
DreamPiggy
6e5a0ea5f0
Rename Image/IO GIF APNG WebP coders to without `Web` prefix.
...
Rename `SDWebImageCodersManager` to `SDImageCodersManager`
2018-04-26 23:12:54 +08:00
DreamPiggy
15bceab71c
Rename `SDWebImageCoder` to `SDImageCoder`.
...
Rename `SDWebImageProgressiveCoder` to `SDProgressiveImageCoder`
Rename `SDWebImageAnimatedCoder` to `SDAnimatedImageCoder`
2018-04-26 23:05:13 +08:00
DreamPiggy
9ee3dac978
Renaming `SDWebImageFrame` -> `SDImageFrame`. `SDWebImageCoderHelper` -> `SDImageCoderHelper`
2018-04-26 23:04:20 +08:00
DreamPiggy
a5616e2bcd
Update the test for renaming
2018-04-26 23:03:44 +08:00
DreamPiggy
e862ea1b8e
Rename all `SDWebImageTransformer` to `SDImageTransformer`
2018-04-26 23:03:44 +08:00
DreamPiggy
5d7625f567
Fix the HTTP auth test again
2018-04-26 23:02:45 +08:00
DreamPiggy
189dc814f1
Fix the test about HTTP Auth for downloader
2018-04-26 22:08:03 +08:00
DreamPiggy
425d78de12
Renaming the `downloadOperation` to `loaderOperation` in `SDWebImageCombinedOperation`
2018-04-26 21:48:34 +08:00
DreamPiggy
e9cf356e57
Renaming `SDWebImageProgressiveDownload` to `SDWebImageProgressiveLoad`. Which is more suitable for custom loader which also support progressive image loading. (No need to be download)
2018-04-26 21:42:25 +08:00
DreamPiggy
ac47ce3a0d
Merge pull request #2303 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-04-26 10:43:35 +08:00
DreamPiggy
8f49d753b4
Remove the duplicated process to force decode (draw on bitmap context) in Image/IO's progressive decoding.
...
This is the bug in early version of Image/IO framework, but now it's already been fixed and duplicated process impact performance
2018-04-25 15:54:17 +08:00
DreamPiggy
5f85848aaa
Merge branch 'fix_downloader_crash_iOS8' into 5.x
2018-04-25 14:22:55 +08:00
DreamPiggy
65537c4983
Remove the check for URLProtocol in custom loader to avoid crash on iOS 8. Let URLSession itself or download operation to parse the result.
2018-04-25 14:21:38 +08:00
DreamPiggy
830fb0d358
Merge branch 'fix_coder_implementation' into 5.x
2018-04-25 14:14:41 +08:00
DreamPiggy
0832da8d7c
Avoid duplicated force decode for progressive WebP images
2018-04-25 13:39:06 +08:00
DreamPiggy
072b832375
Fix the issue for progressive decoding that do not parse the correct animated image scale. Update all coders
2018-04-25 12:59:44 +08:00
DreamPiggy
a22a0e25f7
Merge branch 'master' of https://github.com/rs/SDWebImage into 5.x
...
# Conflicts:
# SDWebImage/SDImageCache.h
2018-04-25 10:56:51 +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
Bogdan Poplauschi
778322daf9
Merge pull request #2296 from dreampiggy/refactor_manager_logic
...
Refactor manager logic - Also suppoort ignore cache query
2018-04-24 15:39:17 +03:00
Bogdan Poplauschi
e8ce9e89c5
Merge pull request #2299 from dreampiggy/feature_cache_namespace_prefix
...
Add the ability to custom the cache namespace prefix
2018-04-24 08:57:43 +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
DreamPiggy
cfd68422dc
Refactor current manager's internal implementation for that `loadImageWithURL:`. Separate to 3 parts (context preprocess, cache process, download process). Also introduce `SDWebImageFromLoaderOnly` feature to ignore cache at all
...
This is useful for some custom image loader where user does not need memory cache at all.
2018-04-21 15:12:17 +08:00