Commit Graph

1982 Commits

Author SHA1 Message Date
DreamPiggy 7187aff159 Update SDAnimatedImage test and HEIC/HEIF test 2018-08-10 15:41:32 +08:00
DreamPiggy b0775361b5 Add more test about SDAnimatedImage 2018-08-10 15:26:14 +08:00
DreamPiggy 8bd5e5e44d Add more tests for animated coder 2018-08-10 15:26:14 +08:00
DreamPiggy fc23b93d08 Update the test about progressive decoding of other image format 2018-08-10 15:26:14 +08:00
DreamPiggy 3cd71e09ce Merge branch 'master' of https://github.com/rs/SDWebImage into 5.x
# Conflicts:
#	SDWebImage/NSData+ImageContentType.h
#	SDWebImage/SDWebImageDownloader.m
#	SDWebImage/SDWebImageImageIOCoder.m
2018-08-10 15:20:55 +08:00
Bogdan Poplauschi 802e19b23d
Merge pull request #2426 from zhongwuzw/remove-notification-dispatch
Make download receive response notification only dispatch to specific observer
2018-08-09 17:41:58 +03:00
zhongwuzw 9a63520115 Remove NS_DESIGNATED_INITIALIZER macro 2018-08-09 20:43:35 +08:00
zhongwuzw 22a8c43bca Put download token init internal 2018-08-09 17:21:24 +08:00
zhongwuzw ab5b5677b2 Remove setter of downloadOperation 2018-08-09 14:59:04 +08:00
Bogdan Poplauschi 83b5d22a56
Merge pull request #2417 from dreampiggy/feature_disk_cache_migration_from_4.x
Feature disk cache migration from 4.x
2018-08-08 12:47:20 +03:00
Bogdan Poplauschi 205e376388
Merge pull request #2409 from zhongwuzw/add-default-user-agent
Add default HTTP User-Agent for specific system
2018-08-08 12:42:07 +03:00
zhongwuzw 8cfda3dce9 Make download receive response notification only dispatch to specific observer 2018-08-08 15:36:57 +08:00
Bogdan Poplauschi 430414eb4b
Merge pull request #2424 from zhongwuzw/remove-version-eye
Remove versioneye from README
2018-08-07 10:18:13 +03:00
zhongwuzw 1c0ae2c7a1 Remove versioneye from README 2018-08-07 10:50:47 +08:00
Wu Zhong 3378cc38d4
Merge pull request #2423 from dreampiggy/improvement_heif_brand_fix
Add SDImageFormatHEIF represent mif1 && msf1 brands
2018-08-07 09:56:17 +08:00
DreamPiggy 7ddb75710c Add SDImageFormatHEIF represent mif1 && msf1 brands
Fix the current hard-coded system version checking with Image/IO source uttypes checking
2018-08-06 17:53:24 +08:00
zhongwuzw 36cd96acce Add user-agent for tv-os 2018-08-06 14:38:35 +08:00
DreamPiggy 3b1219cdfd
Merge pull request #2421 from dreampiggy/bugfix_should_use_weak_memory_cache
Fix that `shouldUseWeakMemoryCache` code was lost during merge conflict
2018-08-06 12:40:33 +08:00
DreamPiggy 42caecf27b Fix that `shouldUseWeakMemoryCache` code was lost during merge conflict 2018-08-06 11:18:00 +08:00
Bogdan Poplauschi 1d4823eb48 Merge pull request #2415 from dreampiggy/feature_minimum_progress_interval
Feature minimum progress interval
2018-08-04 19:11:04 +03:00
DreamPiggy 3863264a13 Improve the code robustness of disk cache migrate 2018-08-03 22:06:19 +08:00
DreamPiggy d9d0b7d4bf Add the feature, to migrate the disk cache from 4.x version to the new location of cache path. 2018-08-03 17:32:04 +08:00
DreamPiggy e400d220c5 Update the test from merge conflict 2018-08-02 18:53:52 +08:00
DreamPiggy 8b7e88de50 Merge branch 'master' of https://github.com/rs/SDWebImage into 5.x
# Conflicts:
#	SDWebImage/FLAnimatedImage/FLAnimatedImageView+WebCache.m
#	SDWebImage/SDWebImageDownloader.h
#	SDWebImage/SDWebImageDownloader.m
#	SDWebImage/SDWebImageDownloaderOperation.h
#	SDWebImage/UIView+WebCache.m
#	Tests/Tests/SDWebImageDownloaderTests.m
2018-08-02 18:42:21 +08:00
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
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 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