DreamPiggy
8554fec55f
Update the comments
2018-01-13 15:37:58 +08:00
DreamPiggy
9420a20f3f
Add a query cache options to allow some specify logic.
...
Currently is used for FLAnimatedImage
2018-01-12 18:34:09 +08:00
DreamPiggy
092e88e55f
Merge branch 'master' of https://github.com/rs/SDWebImage into 5.x
...
* 'master' of https://github.com/rs/SDWebImage :
Update the spec file to define the dependency version for libwebp
Bugfix for loopCount (#2155 )
Fix that 0 pixels error should be used when width OR height is zero but not AND
Avoid user accidentally invalidates the session used in shared downloader
Remove the extra memory warning notification for AutoPurgeCache
2018-01-12 17:35:24 +08:00
DreamPiggy
261a1dc2d6
Merge pull request #2169 from dreampiggy/fix_spec_libwebp_version
...
Update the spec file to define the dependency version for libwebp
2018-01-12 15:11:07 +08:00
DreamPiggy
4f4a33030f
Update the spec file to define the dependency version for libwebp
2018-01-12 11:53:50 +08:00
DreamPiggy
5667d67fdc
Merge pull request #2153 from dreampiggy/improve_duplicate_memory_warning
...
Remove the extra memory warning notification for AutoPurgeCache
2018-01-11 16:59:07 +08:00
Ming Zhang
803210912d
fix 'nullable' to 'nonull'
2018-01-10 19:39:48 +08:00
线程
a6c0570987
Bugfix for loopCount ( #2155 )
...
If a GIF image has no Netscape 2.0 loop extension, it is meant to play once and then stop
2018-01-09 21:59:30 +08:00
DreamPiggy
61703fced0
Merge pull request #2160 from dreampiggy/fix_zero_pixels
...
Fix that 0 pixels error should be used when width OR height is zero but not AND
2018-01-08 15:12:27 +08:00
DreamPiggy
31a87af0ab
Fix that 0 pixels error should be used when width OR height is zero but not AND
2018-01-08 11:01:19 +08:00
DreamPiggy
8f456ff08c
Merge pull request #2154 from dreampiggy/improve_avoid_invalidate_shared_downloader
...
Avoid user accidentally invalidates the session used in shared downloader
2018-01-05 15:10:16 +08:00
DreamPiggy
ff8d23dacf
Avoid user accidentally invalidates the session used in shared downloader
2018-01-04 20:11:20 +08:00
DreamPiggy
7704c1e5b5
Remove the extra memory warning notification for AutoPurgeCache
2018-01-04 20:09:18 +08:00
DreamPiggy
7c14f41cb6
Merge pull request #2148 from dreampiggy/refactor_disk_cache
...
Refactor storeImageDataToDisk and support writing options
2018-01-04 15:58:20 +08:00
DreamPiggy
0d7c93d7b7
Add a `diskCacheWritingOptions` to allow user to specify disk data writing options
2018-01-03 15:21:09 +08:00
DreamPiggy
db5307eb94
Change our imageCache `storeImageDataToDisk` to internal use IO-queue. And also change error from POSIX errno to Cocoa file error
2018-01-03 15:21:02 +08:00
DreamPiggy
7be0bbe331
Merge pull request #2147 from dreampiggy/upgrade_deployment_target_version
...
Upgrade deployment target version
2018-01-03 14:55:28 +08:00
DreamPiggy
caafe27937
Upgrade target deployment version to iOS 8.0 / macOS 10.10
2018-01-01 13:15:51 +08:00
DreamPiggy
e7cf41446a
Merge branch 'master' of https://github.com/rs/SDWebImage into 5.x
...
* 'master' of https://github.com/rs/SDWebImage :
Bumped version to 4.2.3 + updated CHANGELOG
2018-01-01 13:03:13 +08:00
DreamPiggy
c5f3a8c007
Bumped version to 4.2.3 + updated CHANGELOG
2017-12-30 14:30:42 +08:00
DreamPiggy
8a8d661ea7
Merge branch 'master' of https://github.com/rs/SDWebImage into 5.x
...
* 'master' of https://github.com/rs/SDWebImage :
Adopt the current requirement, change ImageIO coder's canDeocdeFromHEIC to actual implementation
Fix Clang Static Analyzer warning for number nil check from Xcode 9.2
2017-12-29 22:57:32 +08:00
DreamPiggy
e0cb8e08d9
Merge pull request #2146 from dreampiggy/fix_heic_can_encode
...
Adopt the current requirement, change ImageIO coder's canDeocdeFromHEIC to actual implementation
2017-12-29 19:44:28 +08:00
DreamPiggy
08b913ed19
Adopt the current requirement, change ImageIO coder's canDeocdeFromHEIC to actual implementation
2017-12-29 19:19:50 +08:00
DreamPiggy
cc9265e187
Merge pull request #2143 from dreampiggy/fix_warning_number_nil_check
...
Fix Clang Static Analyzer warning for number nil check from Xcode 9.2
2017-12-29 14:12:23 +08:00
DreamPiggy
8b3c4c2cde
Fix Clang Static Analyzer warning for number nil check from Xcode 9.2
2017-12-29 12:52:29 +08:00
DreamPiggy
f2888f799c
Merge branch 'master' of https://github.com/rs/SDWebImage into 5.x
...
* 'master' of https://github.com/rs/SDWebImage : (25 commits)
When store image with no data for SDImageCache, check whether it contains alpha to use PNG or JPEG format
Fix the way remove all elements from pointer array
Remove some unused code, fix typo, update the comments
Use a weak pointerArray to store the operations for sd_setAnimationImagesWithURLs, avoid extra retain of operation instance
Use a copy-weak maptable for operations stored in UIView(WebCacheOperation) category to avoid retain of operation, and also use lock to keep thread-safe
Fix progressive WebP decoding by creating data provider with actual data size
Add a SDWebImageExternalCustomManagerKey context arguments to allow user to custom image manager for UIView category to avoid build from scratch
Check the group instance before calling group leave
Remove the out-dated compatible code for non-ARC
Update the comments
Allow custom SDWebImageDownloaderOperation to handle HTTP redirect
Update the comments for that SDWebImageInternalSetImageGroupKey key
Fix potential thread-safe problem in SDWebImagePrefetcher by keeping all access through prefetcher queue and retain the local URLs firstly
Update the comments and remove the unnecessary main queue check
Follow Apple doc and remove that manual calculation of byte alignment to make it more universal for different architecture device
Change prefetchURLs from nonatomic to atomic to avoid multi-thread access crash
capture currentURL instead of using index to access to avoid race condition
Grab the poster image instead of image itself to avoid an UIAnimatedImage been set
Update the documents
Update tests to invalidate session after usage
...
2017-12-22 21:06:48 +08:00
DreamPiggy
47c1248a1b
Merge pull request #2136 from dreampiggy/fix_storeImage_nil_data_format
...
When store image with no data for SDImageCache, check whether it contains alpha to use PNG or JPEG format
2017-12-20 00:03:22 +08:00
DreamPiggy
2872f94a3a
When store image with no data for SDImageCache, check whether it contains alpha to use PNG or JPEG format
2017-12-19 23:15:28 +08:00
DreamPiggy
bfe92374d0
Merge pull request #2132 from dreampiggy/fix_WebCacheOperation_use_maptable
...
Use a copy-weak maptable for operations stored in UIView(WebCacheOperation) category to avoid retain of operation, and also use lock to keep thread-safe
2017-12-19 18:29:12 +08:00
DreamPiggy
ac5ec6997c
Fix the way remove all elements from pointer array
2017-12-19 13:11:51 +08:00
DreamPiggy
91ff801611
Remove some unused code, fix typo, update the comments
2017-12-17 19:45:51 +08:00
DreamPiggy
37f84ce6a6
Use a weak pointerArray to store the operations for sd_setAnimationImagesWithURLs, avoid extra retain of operation instance
2017-12-17 03:04:59 +08:00
DreamPiggy
958a349c6c
Use a copy-weak maptable for operations stored in UIView(WebCacheOperation) category to avoid retain of operation, and also use lock to keep thread-safe
2017-12-17 01:26:03 +08:00
DreamPiggy
df7ed34c14
Merge pull request #2131 from dreampiggy/fix_progressive_webp_decoding
...
Fix progressive WebP decoding by creating data provider with actual data size
2017-12-16 00:42:54 +08:00
DreamPiggy
283d66c308
Fix progressive WebP decoding by creating data provider with actual data size
2017-12-16 00:29:48 +08:00
DreamPiggy
d2443d9c56
Merge pull request #2115 from dreampiggy/feature_custom_manager_for_category
...
Add a SDWebImageExternalCustomManagerKey context arguments to allow user to custom image manager for UIView category
2017-12-15 23:33:33 +08:00
DreamPiggy
6969fef764
Add a SDWebImageExternalCustomManagerKey context arguments to allow user to custom image manager for UIView category to avoid build from scratch
2017-12-15 23:25:17 +08:00
DreamPiggy
5a257b5f69
Merge pull request #2106 from dreampiggy/fix_FLAnimatedImageView_blink_when_reload
...
Revert changes for FLAnimatedImage performance enhancement.
2017-12-15 23:14:05 +08:00
DreamPiggy
e972c904b0
Check the group instance before calling group leave
2017-12-15 22:28:41 +08:00
DreamPiggy
eda6d5d485
Remove the out-dated compatible code for non-ARC
2017-12-15 20:11:42 +08:00
DreamPiggy
3f0946335f
Update the comments
2017-12-13 20:58:20 +08:00
DreamPiggy
d854d60095
Merge pull request #2123 from realaboo/master
...
Allow custom SDWebImageDownloaderOperation to handle HTTP redirect
2017-12-13 20:49:37 +08:00
Yangfan Huang
d7861d8f20
Allow custom SDWebImageDownloaderOperation to handle HTTP redirect
2017-12-10 03:27:08 +08:00
DreamPiggy
efa030cb47
Update the comments for that SDWebImageInternalSetImageGroupKey key
2017-12-08 11:46:07 +08:00
DreamPiggy
97ec1e2d85
Merge pull request #2111 from dreampiggy/fix_startPrefetchingAtIndex_accident_crash
...
capture currentURL instead of using index to access to avoid race condition
2017-12-08 11:05:12 +08:00
DreamPiggy
4f65117c34
Fix potential thread-safe problem in SDWebImagePrefetcher by keeping all access through prefetcher queue and retain the local URLs firstly
2017-12-07 15:18:10 +08:00
DreamPiggy
e9a75c8539
Update the comments and remove the unnecessary main queue check
2017-12-03 14:18:01 +08:00
DreamPiggy
a2cbbfd900
Merge pull request #2119 from dreampiggy/fix_byte_alignment
...
Follow Apple doc and remove that manual calculation of byte alignment to make it more universal for different architecture device
2017-11-30 12:02:29 +08:00
DreamPiggy
935eb1dc14
Follow Apple doc and remove that manual calculation of byte alignment to make it more universal for different architecture device
2017-11-30 11:24:32 +08:00
DreamPiggy
8ac6e08476
Change prefetchURLs from nonatomic to atomic to avoid multi-thread access crash
2017-11-29 12:51:34 +08:00