-
Cached image filename are sometimes generated with invalid path extensions
-
- the problems: some tests were just poorly written, using async calls but not properly setting async expectations. Those were generating undefined behaviour (not clear if/when those callbacks would be executed). - also, we wanted to call `clearAllCaches` before every test, but since some methods there are async, this doesn't work with the way `setUp` was designed. So basically sometimes before a test we could clear the cache but sometimes not, or even the clear could come while running the test which was worst - decided to fix this by making sure after every test that we manually clear what we have added.
-
…-images/* images which are big and sometimes fail to arrive in 5 seconds (before the test can timeout) to smaller images, basically using http://via.placeholder.com/ like http://via.placeholder.com/50x50.jpg or http://via.placeholder.com/200x200.png This should speed up the tests a bit and also avoid some of the random failures due to timeout
-
…hLocalImageURL:isAnimatedImage:` method that will take a imageURL and a coder and will check decoding and encoding back and forth, sizes and so. Reusing this method for the static WebP image, for the animated WebP image and for the GIF.
-
Also updated the Tests Podfile so we don't get a warning (xcodeproj was renamed to project)
-
…easons (strangely sometimes the data doesn't get written to disk)
-
- open the decoding/encoding procedures to the users - switch from hardcoded decoding/encoding to pluginable decoders/encoders (builtin + user created) - `SDWebImageCodersManager` is a singleton holding an array of `SDImageCoder` (protocol). Even though a singleton is not necesarily a good pattern, in this case it eliminates dealing with passing this array around - uses a priority queue behind scenes, which means the latest added coders have priority. - the priority is crucial when encoding/decoding something, we go through the list and ask each coder if they can handle the current data (see `canDecodeFromData:`, `canEncodeToFormat:`, `canIncrementallyDecodeFromData:`) - each coder must conform to this protocol `SDImageCoder` describing all the required behavior for a coder - we provide 3 built-in coders: `SDWebImageImageIOCoder` (for JPEG, PNG, TIFF), `SDWebImageGIFCoder` (for GIF), `SDWebImageWebPCoder` (for WebP and animated WebP) - the user of SDWebImage can create custom coders by conforming to `SDImageCoder` and adding the coders to `SDWebImageCodersManager`. See `addCoder:` or `removeCoder:` or `coders` getter to get the array - in order to preserve backwards compatibility, the UIImage categories were preserved, calling the new coders APIs described above
-
#1951: Fix animated WebP decoding issue, including canvas size, the support for dispose method and the duration per frame
-
…download in the queue which makes the tests fail
-
The image array used for +[UIImage animatedImageWithImages:] should share the same size.
-
…OS 8.0. No code signing. Enabled some warnings
-
…WebImage (MapKit and GIF), updated imports so they work fine
-
…ts for SDImageCache, SDWebImageDownloader, SDWebImageDownloaderOperation, SDWebImageDecoder
-
…so we can get all the files
-
# Conflicts: # SDWebImage.xcodeproj/project.pbxproj
-
+ SDWebImageDownloader downloadImageWithURL:... properly use the weakself-strongself pattern # Conflicts: # .travis.yml # Examples/SDWebImage Demo.xcodeproj/project.pbxproj # README.md # SDWebImage.xcodeproj/project.pbxproj # SDWebImage/SDWebImageDownloader.m # SDWebImage/SDWebImageDownloaderOperation.h # SDWebImage/SDWebImageDownloaderOperation.m # SDWebImage/SDWebImageManager.m # Tests/Podfile # Tests/SDWebImage Tests.xcodeproj/project.pbxproj
-
… the library version to 3.8.0
-
…nvalid. You might be connecting to a server that is pretending to be “www.google.gr†which could put your confidential information at risk." by using a different image
-
…nvalid. You might be connecting to a server that is pretending to be “www.google.gr†which could put your confidential information at risk." by using a different image
-
…f this change to simplify it
-
…he specification of `link_with` in the Podfile is now unsupported, please use target blocks instead.)
-
Fix multiple requests for same image and then canceling one