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
9c11886dc0
Update the test project to use modular headers instead of massive headers...
2018-04-19 17:25:39 +08:00
Bogdan Poplauschi
af0eaccbc5
Merge pull request #2292 from dreampiggy/refactor_cache_webcache_protocol
...
Fix the custom cache protocol naming
2018-04-19 10:39:39 +03:00
Bogdan Poplauschi
eded5f026c
Merge pull request #2293 from dreampiggy/refactor_naming_NSImge_category
...
Renaming the NSImage category naming to `NSImage+Compatibility`
2018-04-19 10:26:51 +03:00
DreamPiggy
7cf58ad7c5
Renaming the NSImage category naming to `NSImage+Compatibility`, because it's only used for Cross-platform compatibility code. `Additions` is too wide
2018-04-18 21:14:34 +08:00
DreamPiggy
d5074429f0
Add tests for custom loader protocol, using a test loader to specify loader function
2018-04-18 20:46:00 +08:00
DreamPiggy
60759f812a
Refactor to only use one publish protocol for custom loader. Renaming image downloader description to loader
2018-04-18 20:46:00 +08:00
DreamPiggy
a6bdba724e
Fix all cache test
2018-04-18 19:24:23 +08:00
DreamPiggy
2c7d1a465a
Update the tests for web cache protocol and caches manager
2018-04-18 14:40:56 +08:00
Bogdan Poplauschi
1bc4662bde
Merge pull request #2282 from dreampiggy/refactor_memory_cache_disk_cache
...
Refactor cache - Support custom memory cache & disk cache
2018-04-17 12:14:06 +03:00
DreamPiggy
dd2e71c99d
Add support for SDAnimatedImage imageNamed:bundle: for macOS, enable SDAnimatedImageTest for macOS
2018-04-17 12:03:24 +08:00
DreamPiggy
2d27300e00
Add test for custom memory cache and disk cache
2018-04-17 11:09:56 +08:00
DreamPiggy
62058d209d
Add memory cache and disk cache protocol, make our image cache just like a wrapper to call the disk cache implementation
2018-04-17 11:09:56 +08:00
DreamPiggy
781c079a3a
Use `SDWebImageAvoidDecodeImage` to allow user to control force decode feature for individual image request. Replace all the central control for `decompressImages`
2018-04-16 01:12:09 +08:00
DreamPiggy
e1d96e7812
Revert "Merge pull request #1898 from walkline/master into 5.x"
2018-04-13 16:48:15 +08:00
DreamPiggy
f8e9dd3412
Update the test for cache path API
2018-04-13 11:19:03 +08:00
DreamPiggy
d515a36337
Merge branch 'master' of https://github.com/rs/SDWebImage into 5.x
...
# Conflicts:
# SDWebImage/SDWebImageImageIOCoder.m
2018-04-12 01:16:34 +08:00
DreamPiggy
2cb03773db
Merge pull request #2261 from dreampiggy/feature_request_modifier_and_response
...
Feature request modifier and response
2018-04-11 16:51:28 +08:00
DreamPiggy
46e5b196f8
Fix the test about alpha images force decode
2018-04-11 16:10:41 +08:00
DreamPiggy
b9ec481edf
Remove the extra calculation of image orientation for ImageIO coder
2018-04-10 21:19:12 +08:00
DreamPiggy
22c293738a
Update the progressive coder/ animated coder init API, which pass the options to support extensibility
2018-04-09 13:42:52 +08:00
DreamPiggy
cbf8581696
Fix the scale factor issue on macOS using helper methods to match the behavior of UIKit. Also remove the unused API on NSImage category
2018-04-08 19:54:39 +08:00
DreamPiggy
55256d0091
Use a protocol instance instead of block for request modifier. This can solve the problem that Swift user is hard to grab the block back stored in dictionary.
2018-04-07 15:56:34 +08:00
DreamPiggy
f01fe38fdd
Add downloader request modifier to allow modify final HTTP request. Also open the API to allow advanced user to check cache & downloader operation.
2018-04-07 15:52:39 +08:00
DreamPiggy
1d7dba33f5
Update the test about download operation, which using protocol instead of class
2018-04-05 15:25:14 +08:00
DreamPiggy
73c811dc23
Fix all code tied with SDWebImageDownloaderOperation class but not protocol, which previously relay on NSURLSession but it should not to be
2018-04-05 07:26:50 +08:00
DreamPiggy
793b7e33a8
Update the custom downloader operation to fix test
2018-04-05 06:06:01 +08:00
DreamPiggy
be36009d10
Update the test for custom download operation class.
2018-04-05 00:15:53 +08:00
DreamPiggy
c3892d7d08
Move all download settings into SDWebImageDownloaderConfig, make it more easy to use with clear API.
...
Deprecate `createNewSessionWithConfiguration`, which make downloader not sync with URLSession. If user need to specify sharedDownloader config, just modify the defaultDownloaderConfig instead.
2018-04-05 00:15:53 +08:00
DreamPiggy
6bdcf63224
Fix the test build
2018-04-03 02:07:59 +08:00
DreamPiggy
8236dee202
Move the context arg after the `options` arg to make Swift ABI clear. Also update all view category to support context arg.
2018-04-02 03:24:23 +08:00
DreamPiggy
851ee7d372
Update the prefetcher test case naming
2018-04-01 00:11:15 +08:00
DreamPiggy
bc164d6369
Fix prefetcher thread-safe problem using stdatomic instead of OSAtomic. Also fix test.
2018-03-31 21:44:53 +08:00
DreamPiggy
5da5ec92fb
Add the test for APNG coder
2018-03-29 17:59:32 +08:00
DreamPiggy
a6d61c409d
Fix compile issue and test
2018-03-25 20:44:41 +08:00
DreamPiggy
5e09c6bf19
Add support for imageNamed: in SDAnimatedImage with bundle files
2018-03-25 17:32:48 +08:00
DreamPiggy
7e83d78ca3
Add tests about SDAnimatedImage SDAnimatedImageView and SDAnimatedImage+WebCache
2018-03-25 17:32:48 +08:00
DreamPiggy
f94dd00c52
Use the context arg to pass the SDAnimatedImage class to create the instance by image cache and downloader.
...
Also enhance view category to support firstFrameOnly, scaleFactor and preload
2018-03-25 17:29:11 +08:00
DreamPiggy
87bbcdc46f
Introduce SDAnimatedImage and SDAnimatedImageView for high performance animated image rendering on iOS & macOS
2018-03-25 17:23:12 +08:00
DreamPiggy
ec7927b25a
Update the transformer to use as immutable class. Move the tests into SDWebImageTransformerTests
2018-03-23 15:48:58 +08:00
DreamPiggy
ed0100c323
Move the NSBezierPath and UIColor category into implementation because it's now for internal use only
2018-03-18 23:00:35 +08:00
DreamPiggy
67285ee722
Add the test for transformer property
2018-03-17 22:31:28 +08:00
DreamPiggy
a2076d362e
Add sd_colorsWithRect method and test, treat RGB color with default alpha 1.0
2018-03-17 21:18:20 +08:00
DreamPiggy
3e3ec8d513
Change the hex color from 0x00000000 format to #00000000
2018-03-17 21:18:20 +08:00
DreamPiggy
aea81791ec
Fix the test on macOS. Fix the issue when using rounded corner
2018-03-17 21:18:20 +08:00
DreamPiggy
d0df01bec1
Complete the 8 tests for all image transform methods, well done
2018-03-17 21:18:19 +08:00
DreamPiggy
c9dfe39e36
Change all sharedInstance from method to class property
2018-03-11 16:08:33 +08:00
DreamPiggy
e0ad0711da
Mark two set method in SDWebImageDownloader as property
2018-03-11 15:53:18 +08:00
DreamPiggy
69bc9cbd2c
Update the prefetcher test to ensure that prefetch different urls works and the delegate methods work
2018-02-22 13:38:39 +08:00