Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jun 15, 2011
Commits on Jun 7, 2011
  1. fix a leak on Mac OSX

    authored
Commits on May 7, 2011
  1. @rs

    Merge pull request #12 from apptitude/master

    rs authored
    Low priority download mode
Commits on May 6, 2011
  1. @vesterbaek
Commits on Mar 21, 2011
  1. @rs
Commits on Mar 17, 2011
  1. @rs

    Added Mac OS X compatibility

    Jamie Pinkham authored rs committed
Commits on Jan 25, 2011
  1. @eliog @rs

    Force retry of failed downloads

    eliog authored rs committed
  2. @rs
Commits on Oct 9, 2010
  1. @rs
Commits on Oct 7, 2010
  1. @rs

    Add userInfo on SDWebImageDownloader.m

    niblh authored rs committed
Commits on Oct 3, 2010
  1. @rs

    Add support for system network activity indicator show/hide via notif…

    rs authored
    …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.
Commits on Sep 16, 2010
  1. @rs

    Perform disk cache out operations asynchronousely in order to prevent…

    rs authored
    … from blocking the main runloop when a lot of cache queries are performed at the same time
  2. @rs

    If nil is given as URL to setImageWithURL:, set the image to the plac…

    rs authored
    …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.
Commits on Aug 29, 2010
  1. @rs

    Do not convert images to JPEG when stored to disk for caching

    rs authored
    This saves CPU and memory in all cases and alpha channel / image clearness if orignal format was PNG or GIF.
Commits on Jun 20, 2010
  1. @rs
Commits on Jun 12, 2010
  1. @rs

    Better nil url handling

    rs authored
Commits on Jun 11, 2010
  1. @rs

    Fix english in new method naming

    rs authored
  2. @rs
  3. @rs
  4. @rs
  5. @rs
Commits on Jun 9, 2010
  1. @rs

    Replace the NSOperation based downloader by a simple async NSURLConne…

    rs authored
    …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.
Commits on Jun 8, 2010
  1. @rs
  2. @rs
Commits on Jun 1, 2010
  1. @rs
Commits on Mar 20, 2010
  1. @henrik

    Fix potential crasher in SDImageCache. Don't rely on memory cache to …

    henrik authored
    …retain a returned value.
Commits on Mar 17, 2010
  1. @rs
Commits on Dec 31, 2009
  1. @rs

    Handle nil image urls nicely

    rs authored
Commits on Nov 11, 2009
  1. @rs
Commits on Sep 28, 2009
  1. @rs
Commits on Sep 24, 2009
  1. @rs

    Remove the dirty hack of storing the helper into the first subview of…

    rs authored
    … the UIImageView and prevent duplicate downloads of the same URL
    
    The helper (now called manager) is now handling the mapping between the UIImageView and its downloader.
    This way we don't polute the UIImageView, and don't remove its capability to have subviews.
    This change removes the automatic handling of image placeholder. The placeholder image can
    be passed as second argument of setImageWithURL:placeholderImage:
    The manager now handle duplicate downloads for the same URL gracefuly by sharing the same downloader
    for all requestors.
    Finaly, the manager handles URLs which can't create an image (HTTP error or invalid format) by flagging
    them so it won't retry to download them again and again.
Commits on Sep 23, 2009
  1. @rs
Commits on Sep 22, 2009
  1. @rs

    Use user cache directory instead of ducment directory to prevent from…

    rs authored
    … cache to be synced back and forth in iTunes
Commits on Sep 21, 2009
  1. @rs

    Remove Dailymotion paternity and move to joined paternity with Fraggl…

    rs authored
    …e behind the Simple Design (SD) team name
  2. @rs
Something went wrong with that request. Please try again.