Permalink
Commits on Sep 30, 2011
Commits on Sep 21, 2011
  1. When storeImage:imageData:forKey:toDisk: is called with toDisk:YES bu…

    …t no data, do not prevent memory caching (fix: #24)
    committed Sep 8, 2011
Commits on Jul 25, 2011
  1. Merge pull request #20 from exalted/master

    Added UIButton+WebCache category
    committed Jul 25, 2011
  2. Added UIButton+WebCache category

    exalted committed Jul 25, 2011
Commits on Jul 13, 2011
  1. Fix race condition with SDWebImageManager's cancelForDelegate:

    The -cancelForDelegate: method was working for downloads but not local cache checks. Add some new machinery to keep track of pending cache requests and only message the delegate if it hasn't since requested cancellation.
    adamjernst committed with Jul 13, 2011
  2. Fix some implicit conversion warnings

    committed Jul 13, 2011
  3. Fix coding style

    committed Jul 13, 2011
  4. Fix a leak on Mac OSX

    siuying committed with Jun 7, 2011
Commits on May 7, 2011
  1. Merge pull request #12 from apptitude/master

    Low priority download mode
    committed May 7, 2011
Commits on May 6, 2011
  1. Add low priority download mode. Low priorities run NSUrlConnection in…

    … NSEventTrackingRunLoopMode
    Jeppe Vesterbæk committed May 6, 2011
Commits on Mar 21, 2011
Commits on Mar 17, 2011
  1. Added Mac OS X compatibility

    Jamie Pinkham committed with Mar 15, 2011
Commits on Jan 25, 2011
  1. Force retry of failed downloads

    eliog committed with Oct 5, 2010
Commits on Oct 9, 2010
Commits on Oct 7, 2010
  1. Add userInfo on SDWebImageDownloader.m

    niblh committed with Oct 6, 2010
Commits on Oct 3, 2010
  1. Add support for system network activity indicator show/hide via notif…

    …ication
    
    As showing/hiding the network activity indicator could conflict with your own code (i.e. the lib may hide the indicator when your code would still do some network stuff), the show/hide of the indicator isn't performed by the lib directly but SDWebImageDownloadStartNotification and SDWebImageDownloadStopNotification notifications are posted instead.
    
    This lets you handle the indicator visiblity by yourself. If you're lazy, you can use the SDNetworkActivityIndicator library (http://github.com/rs/SDNetworkActivityIndicator) to handle it automatically. Once added to your project, all you have to do is to import this lib in addition to the SDWebImage lib.
    
    Note that you should then use SDNetworkActivityIndicator for all your network status indicator visibility changes in your code if you don't want conflicts to happen.
    committed Oct 3, 2010
Commits on Sep 16, 2010
  1. Perform disk cache out operations asynchronousely in order to prevent…

    … from blocking the main runloop when a lot of cache queries are performed at the same time
    committed Sep 16, 2010
  2. If nil is given as URL to setImageWithURL:, set the image to the plac…

    …eholder image (or nil if no placeholder)
    
    This is the recommanded way clear an image for reuse (as a UITableViewCell for instance). Calling setImageWithURL:
    with nil URL will have the effect to cancel an eventual currently in progress download of a thumbnail for this UIImageView.
    Affecting the image property directly won't have this effect and may lead to image being re-affected once download is completed.
    committed Sep 16, 2010
Commits on Aug 29, 2010
  1. Do not convert images to JPEG when stored to disk for caching

    This saves CPU and memory in all cases and alpha channel / image clearness if orignal format was PNG or GIF.
    committed Aug 29, 2010
Commits on Jun 20, 2010
Commits on Jun 12, 2010
  1. Better nil url handling

    committed Jun 12, 2010
Commits on Jun 11, 2010
  1. Fix english in new method naming

    committed Jun 11, 2010
Commits on Jun 9, 2010
  1. Replace the NSOperation based downloader by a simple async NSURLConne…

    …ction (read-on to understand why)
    
    I finally found the reason behind the download not started while UITableView is manipulated: the default NSURLConnection runloop mode. Its default mode is NSEventTrackingRunLoopMode which is interrupted by UI events. Changing default NSURLConnection runloop mode to NSRunLoopCommonModes just fix this good old responsiveness issue.
    
    I thus decided to replace the current NSOperation based implementation by this finding, as NSOperation is far more expensive than simple async connections. Additionally, moving aways from NSOperation here fix an odd lagging issue with iOS 4, an issue I can't explain at the moment.
    
    Note that `SDWebImageDownloader`'s `setMaxConcurrentDownloads:` method is now a no-op as I didn't implemented the NSOperation queuing system with async connections. I don't think it still necessary as thread-less async connectaions are very lightweight. If you think there is a real need of this, I may reconsider and implement it in the future. In the meantime, this method does nothing and its usage is declared as deprecated.
    committed Jun 9, 2010
Commits on Jun 8, 2010
Commits on Jun 1, 2010
Commits on Mar 20, 2010
  1. Fix potential crasher in SDImageCache. Don't rely on memory cache to …

    …retain a returned value.
    henrik committed Mar 20, 2010
Commits on Mar 17, 2010
Commits on Dec 31, 2009
  1. Handle nil image urls nicely

    committed Dec 31, 2009
Commits on Nov 11, 2009