Fixed CGBitmapContextCreate warnings for invalid alpha properties
Invalid cost calculation when saving image to memory cache
NSInvalidArgumentException is thrown if a nil NSURL is downloaded.
…h a nil URL was downloaded.
…ory cache (fix #263)
isRunning method added at SDWebImageManager
Don't dispatch cancelAll calls.
- should fix pre-fetcher problems #247 - cancelAll should be always called using the main thread
Change SDWebImageManager to use shared image cache
decodedImageWithImage: ignores scale and orientation
Early progress callback
- also configured the Xcode project to use spaces instead of tabs by default
- simplifies callback code by removing possible division by 0 issues during progress computation
- as soon as the NSURLConnection gets initialized - helps to allocate and show progress indication sooner and prevent large delays without progress indication (for example when the server takes long to respond) - estimated size is always 0 at this point, clients can use this to decide if they want to handle this callback or skip it
Should fix most system warnings regarding invalid context configurations