Commit Graph

2311 Commits

Author SHA1 Message Date
Bogdan Poplauschi 676a4b53b7 Merge pull request #2336 from gukemanbu/xucg
remove addProgressCallback, add createDownloaderOperationWithUrl
2018-08-02 11:25:51 +03:00
Bogdan Poplauschi d1d43aad5b
Merge pull request #2414 from dreampiggy/bugfix_downloader_options
Fix that downloader options about image decoding is not correctly set
2018-08-02 10:51:04 +03:00
DreamPiggy 6a3aa48410 Update the test to ensure minimumProgressInterval works 2018-08-02 13:19:52 +08:00
DreamPiggy 67e0df75c6 Add one feature, to allow user to limit the progress interval and reduce the frequency of progress callback
Also fix that progressive decoding should stop when all image data is downloaded
2018-08-02 13:18:04 +08:00
DreamPiggy 892267af74 Fix that downloader options about image decoding is not correctly set 2018-08-02 11:07:53 +08:00
Wu Zhong 1c89282b08
Merge pull request #2413 from dreampiggy/bugfix_swift_api_name
Fix that using `NS_TYPED_ENUM` on `SDImageFormat` cause the existing Swift API naming changed
2018-08-01 22:28:40 +08:00
DreamPiggy cb8879f56a Fix that using `NS_TYPED_ENUM` on `SDImageFormat` cause the existing Swift API naming changed 2018-08-01 20:52:50 +08:00
Bogdan Poplauschi 03434c5a47 Updated the diagrams: added to the Coders detail diagram the coders available in dedicated projects at github.com/SDWebImage: SDWebImageFLCoder, SDWebImagePhotosLoader, SDWebImageHEIFCoder, SDWebImageBPGCoder 2018-08-01 12:26:28 +03:00
Bogdan Poplauschi 217510e346 Bumped version to 5.0.0-beta2 2018-07-31 18:07:06 +03:00
Bogdan Poplauschi 3e11107e88
Merge pull request #2407 from bpoplauschi/diagrams
5.0 Diagrams update
2018-07-31 12:34:20 +03:00
Bogdan Poplauschi 45324efdc8 Updated the StarUML diagrams (actually smaller detailed diagrams) for 5.0 version + added a High Level Diagram (thanks to @dreampiggy) 2018-07-31 12:17:53 +03:00
zhongwuzw c77310bb5d Add default HTTP User-Agent for specific system 2018-07-31 16:29:39 +08:00
DreamPiggy aff324b0d0
Merge pull request #2405 from dreampiggy/feature_pass_context_to_coder
Add SDImageCoderWebImageContext coder option, which allow custom coder plugin, to receive the context option from top-level API
2018-07-31 14:15:05 +08:00
Bogdan Poplauschi 8f187477c6
Merge pull request #2406 from dreampiggy/fix_gif_rotation_after_exif_image
Fix the bug when FLAnimatedImageView firstly show one EXIF rotation JPEG `UIImage`, later animated GIF `FLAnimatedImage` will also be rotated
2018-07-29 21:39:46 +03:00
DreamPiggy 31896ff086 Fix the bug when FLAnimatedImageView firstly show one EXIF rotation JPEG `UIImage`, later animated GIF `FLAnimatedImage` will also be rotated
We help FLAnimatedImage framework to fix their issue :)
2018-07-27 22:24:31 +08:00
DreamPiggy ef3123984f Add SDImageCoderWebImageContext coder option, which allow custom coder plugin, to receive the context option from top-level API (Cache/Downloader/View Category) 2018-07-26 16:44:40 +08:00
DreamPiggy 919751f2de Change SDImageFormat to use `NS_TYPED_EXTENSIBLE_ENUM` instead of fixed enum, to allow custom coder plugin extern the define (#2400)
* Change SDImageFormat to use `NS_TYPED_EXTENSIBLE_ENUM` instead of fixed enum, to allow custom coder plugin extern the define

* Update the comment and indent about `SDImageFormat`
2018-07-24 14:11:57 +08:00
zhongwuzw 2b7b5f5fa2 Use NSDictionary syntatic sugar 2018-07-24 13:05:12 +08:00
zhongwuzw 532a4d8229 Replace setValue:forKey with syntactic sugar 2018-07-24 10:09:57 +08:00
Bogdan Poplauschi 9d1d38b198
Merge pull request #2397 from zhongwuzw/fix-downloader-operation
Replace SDWebImageDownloaderOperation with NSOperation<SDWebImageDownloaderOperationInterface> to make generic
2018-07-23 22:36:00 +03:00
zhongwuzw 05889b6b9c Replace valueForKey with objectForKey when access NSDictionary 2018-07-21 23:44:06 +08:00
zhongwuzw 16a1960018 Remove redundancy protocol declaration 2018-07-20 22:12:48 +08:00
zhongwuzw 43edf04ba0 Replace SDWebImageDownloaderOperation with NSOperation<SDWebImageDownloaderOperationInterface> to make generic 2018-07-20 22:08:06 +08:00
Bogdan Poplauschi fe2fede60f
Merge pull request #2395 from dreampiggy/renaming_image_format
Rename `sd_UTTypeFromSDImageFormat` to `sd_UTTypeFromImageFormat`
2018-07-19 13:13:57 +03:00
DreamPiggy 6398eedce8 Rename `sd_UTTypeFromSDImageFormat` to `sd_UTTypeFromImageFormat` 2018-07-19 01:44:48 +08:00
DreamPiggy d5b60c6b39 Merge branch 'master' of https://github.com/rs/SDWebImage into 5.x
# Conflicts:
#	CHANGELOG.md
#	SDWebImage.podspec
#	SDWebImage/FLAnimatedImage/FLAnimatedImageView+WebCache.m
#	SDWebImage/SDImageCache.h
#	SDWebImage/SDWebImageCoderHelper.m
#	SDWebImage/SDWebImageCodersManager.m
#	SDWebImage/SDWebImageCompat.m
#	SDWebImage/SDWebImageGIFCoder.m
#	SDWebImage/SDWebImageImageIOCoder.m
#	SDWebImage/SDWebImageWebPCoder.m
#	SDWebImage/UIImage+MultiFormat.h
#	SDWebImage/UIImage+MultiFormat.m
#	SDWebImage/UIView+WebCache.h
#	SDWebImage/UIView+WebCache.m
#	WebImage/Info.plist
2018-07-19 00:56:43 +08:00
Bogdan Poplauschi 0ab6bc7b6d 4.4.2 release - version bump + CHANGELOG update 2018-07-18 18:52:34 +03:00
Bogdan Poplauschi d7c665068c
Merge pull request #2394 from zhongwuzw/fix-cfstringref-ownership-for-master
Replace __bridge_transfer with __bridge when convert from CFStringRef to NSString
2018-07-18 18:35:45 +03:00
Bogdan Poplauschi dbbfbd715a
Merge pull request #2386 from zhongwuzw/fix-nullable
Fix nullable key when cancel image load operation
2018-07-18 18:28:00 +03:00
zhongwuzw 61800a8e31 Replace __bridge_transfer with __bridge when convert from CFStringRef to NSString 2018-07-18 23:14:40 +08:00
zhongwuzw 593feb664c Revert operation remove logic 2018-07-18 23:07:25 +08:00
zhongwuzw 7f1440bc96 Merge commit '98a2d9a3b4dd7ec47072e726a5d848b7a3bcc2f1' into fix-nullable 2018-07-18 23:03:13 +08:00
Bogdan Poplauschi 98a2d9a3b4
Merge pull request #2393 from dreampiggy/bugfix_FLAnimatedImage_display_issue
Fix that FLAnimatedImageView+WebCache display behavior for GIF images and other images format
2018-07-18 16:26:38 +03:00
Bogdan Poplauschi cfb830d582
Merge pull request #2392 from zhongwuzw/fix-cfstring-ownership
Replace __bridge_transfer with __bridge when convert from CFStringRef to NSString
2018-07-18 14:38:22 +03:00
DreamPiggy 3863052094 Fix that FLAnimatedImageView+WebCache display behavior for GIF images and other images format
Fix FLAnimatedImageView will dispatch the completion block into next runloop even for non-GIF image
Fix FLAnimatedImageView may not show animation even when the disk image data is GIF image
2018-07-18 17:42:16 +08:00
zhongwuzw b291351754 Replace __bridge_transfer with __bridge when convert from CFStringRef to NSString 2018-07-18 16:40:33 +08:00
Bogdan Poplauschi f0f4b7d190
Merge pull request #2391 from dreampiggy/feature_disk_cache_data
Add one sync API for SDImageCache to directly get the image data from disk instead of image instance
2018-07-18 11:16:07 +03:00
Bogdan Poplauschi 68c58992d7
Merge pull request #2390 from dreampiggy/feature_image_format
Keep the information about image's original compressed format, for API which only contains image but not image data to process extra logic
2018-07-18 11:15:04 +03:00
DreamPiggy 5e52585944 Add one sync API for SDImageCache to directly get the image data from disk instead of image instance 2018-07-18 13:06:21 +08:00
DreamPiggy bb41dbc046 Keep the information about image's original compressed format, for API which only contains image but not image data to process extra logic 2018-07-18 12:57:36 +08:00
DreamPiggy 56a8684e64
Merge pull request #2389 from zhongwuzw/fix-nullable-5.x
Fix nullable key when get image load operation
2018-07-17 22:56:34 +08:00
zhongwuzw 820f13ec93 Fix nullable key when get image load operation 2018-07-17 17:51:23 +08:00
Bogdan Poplauschi 957de6d70f Merge branch 'master' into 5.x 2018-07-17 11:10:12 +03:00
Bogdan Poplauschi c90c13e433 Updated README and CHANGELOG 2018-07-17 11:08:37 +03:00
Bogdan Poplauschi 13f293d951 Bumped Copyright to cover 2018 2018-07-17 10:56:58 +03:00
Bogdan Poplauschi 49cd121b05 CocoaPods 1.5.0 for the Tests project 2018-07-17 10:56:42 +03:00
Bogdan Poplauschi af0200fbff
Merge pull request #2275 from bpoplauschi/5.x.changelog
5.x CHANGELOG + Migration guide + version update
2018-07-17 10:01:19 +03:00
Bogdan Poplauschi 025af81bdf
Merge pull request #2385 from dreampiggy/project_move_FLAnimatedImage
Remove all FLAnimatedImage from the Core SDWebImage repo. Move the code to SDWebImageFLPlugin repo
2018-07-16 12:33:32 +03:00
Bogdan Poplauschi c797279e70 Accidentally removed `endif` - added back 2018-07-16 10:46:08 +03:00
Bogdan Poplauschi a42577ce5d Trying to make some descriptions more clear 2018-07-16 10:31:52 +03:00