Commit Graph

1940 Commits

Author SHA1 Message Date
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
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
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
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
Bogdan Poplauschi 2299d9ab6a Another update per @dreampiggy 2018-07-16 10:13:19 +03:00
zhongwuzw 9ec7aa4219 Fix nullable key when cancel image load operation 2018-07-13 22:43:00 +08:00
DreamPiggy 982ade8824 Remove all FLAnimatedImage from the Core SDWebImage repo. Move the code to SDWebImageFLPlugin repo 2018-07-13 22:17:02 +08:00
Wu Zhong 39a28791fd
Merge pull request #2382 from zhongwuzw/replace-runningOperations-to-set
Replace runningOperations of SDWebImageManager from Array to Set
2018-07-13 10:36:41 +08:00
Bogdan Poplauschi f8fe886334 Instead of defining `LOCK` and `UNLOCK` macros in each file, moved them to the `SDWebImageCompat.h`. Also, split into `LOCK` and `LOCKBLOCK` 2018-07-12 21:10:28 +03:00
Bogdan Poplauschi bc44c5e438 Reviewed version of the migration guide - with @dreampiggy + added the API-Diff generated by @dreampiggy using objc-diff 2018-07-12 20:54:03 +03:00
zhongwuzw d908a1cc35 Replace runningOperations of SDWebImageManager from Array to Set 2018-07-12 22:05:09 +08:00
DreamPiggy 0108475578 Merge branch 'master' of https://github.com/rs/SDWebImage into 5.x
# Conflicts:
#	SDWebImage/SDImageCache.m
#	SDWebImage/SDImageCacheConfig.h
#	SDWebImage/SDImageCacheConfig.m
2018-07-12 19:33:18 +08:00
DreamPiggy 53ef5e5394
Merge pull request #2378 from dreampiggy/enhancement_FLAnimatedImage_cache
Add cache control for FLAnimatedImage, this allow user to disable memory cache for associated FLAnimatedImage instance
2018-07-12 19:21:19 +08:00
Bogdan Poplauschi 99b96e4be1 Updates 2018-07-12 12:46:52 +03:00
DreamPiggy 98c28a4419 Update the comments and fix typo 2018-07-12 01:49:32 +08:00
DreamPiggy 233caefec8 Add cache control for FLAniamtedImage, this allow user to disable memory cache for associated FLAnimatedImage instance 2018-07-12 01:40:56 +08:00
Bogdan Poplauschi 2f665fd71f
Added Wu Zhong to the list of collaborators 2018-07-11 18:25:33 +03:00
Bogdan Poplauschi 153af72369 Set version to 5.0.0-beta, Xcode 8 required, updated the CHANGELOG and added 5.0 Migration Guide 2018-07-11 13:28:13 +03:00
Bogdan Poplauschi f28796de62
Merge pull request #2379 from dreampiggy/feature_weak_cache_option
Add option to enable or disable weak memory cache for SDImageCache
2018-07-11 13:14:52 +03:00
DreamPiggy 76215d7717
Merge pull request #2376 from zhongwuzw/fix-race-condition 2018-07-11 12:05:10 +08:00
DreamPiggy d7e5d6df49
Merge pull request #2381 from zhongwuzw/fix-download-token-crash
Fix crash when assign request property of SDWebImageDownloadToken
2018-07-09 22:44:12 +08:00
zhongwuzw 28eb1b4b5c Fix crash when assign request property of SDWebImageDownloadToken 2018-07-09 16:32:47 +08:00