Permalink
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. @henrik

    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
Commits on Sep 28, 2009
Commits on Sep 24, 2009
  1. Remove the dirty hack of storing the helper into the first subview of…

    … 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.
    committed Sep 23, 2009
Commits on Sep 23, 2009
  1. Replace the SDWebImageView by an UIImageView category make the integr…

    …ation even simpler
    committed Sep 23, 2009
Commits on Sep 22, 2009
  1. Use user cache directory instead of ducment directory to prevent from…

    … cache to be synced back and forth in iTunes
    committed Sep 22, 2009
Commits on Sep 21, 2009
  1. Remove Dailymotion paternity and move to joined paternity with Fraggl…

    …e behind the Simple Design (SD) team name
    committed Sep 21, 2009
  2. Added "Motivation" chapter

    committed Sep 21, 2009
  3. Add some example about using downloader and image cache store compone…

    …nts independently + general doc enhancement
    committed Sep 21, 2009
  4. Update TODO

    committed Sep 21, 2009
  5. Split DMWebImageDownloader from DMWebImageView, and refactor so each …

    …class maintain its own operation
    committed Sep 21, 2009
Commits on Sep 19, 2009
  1. Add licensing information

    committed Sep 19, 2009
  2. Quick and dirty documentation

    committed Sep 19, 2009
  3. Initial revision

    committed Sep 19, 2009