Commits on Dec 27, 2011
Commits on Dec 5, 2011
  1. @adamjernst @rs

    Introduce a cacheURLs array to prevent race conditions related to che…

    …cking the on-disk image cache. (Fix #47)
    
    If a cache check is initiated, then canceled with cancelForDelegate: before a new cache check
    is started with a different URL but the same delegate, the ongoing disk cache check would still
    message the delegate despite being canceled by cancelForDelegate:. This is because it only
    checked to see if the delegate was in the cacheDelegates array; it had been removed by
    cancelForDelegate:, but added back by the new unrelated cache check. cacheURLs keeps track
    of which specific URLs are actually requested by the delegate. If the URL from a completed
    disk cache check does not match the delegate in cacheDelegates, the delegate is not messaged
    (since we know that request was canceled).
    adamjernst committed with rs Dec 5, 2011
  2. @rs

    Add Xcode project

    rs committed Dec 5, 2011
Commits on Nov 22, 2011
  1. @fsaragoca @rs

    Documented categories (appledoc)

    fsaragoca committed with rs Nov 17, 2011
Commits on Oct 25, 2011
  1. @rs

    Merge pull request #39 from 433/version_check_fix

    update version check to make #if work for iOS >= 4
    rs committed Oct 25, 2011
  2. @unintended
Commits on Oct 20, 2011
  1. @rs

    Merge pull request #37 from neogithub/patch-1

    Update README.md
    rs committed Oct 20, 2011
  2. @neogithub

    Update README.md

    neogithub committed Oct 20, 2011
Commits on Oct 4, 2011
  1. @rs

    Add SDWebImagePrefetcher, an utility class to preventively warm-up SD…

    …WebImage cache (fix #32)
    
    Contributed by https://github.com/mystcolor
    rs committed Oct 4, 2011
  2. @rs

    Fix wrong options values

    rs committed Oct 4, 2011
  3. @rs

    Perform image decoding/optimization in the IO thread instead of main …

    …thread for better responsiveness (fix #18)
    
    This new optimization is currently disabled by default so you can test it and give us feedback.
    To enable it, add #define ENABLE_SDWEBIMAGE_DECODER and to not forget to add SDWebImageDecoder class
    to your projet.
    
    Thanks to Adam Jernst (https://github.com/adamjernst) and James Tang (https://github.com/mystcolor)
    for this great optimization. See rs#18 for more info.
    rs committed Oct 4, 2011
Commits on Oct 3, 2011
  1. @rs

    Merge pull request #29 from nonamelive/patch-1

    Fixed a potential crash when the delegate retainCount = 1, which means th
    rs committed Oct 3, 2011
  2. @rs

    Add an option to disable on disk caching (fix #16) + refactor other o…

    …ptions (low prio and retry failed) to an options: parameter
    rs committed Oct 3, 2011
Commits on Sep 30, 2011
  1. @rs
Commits on Sep 28, 2011
  1. @nonamelive

    Fixed a potential crash when the delegate retainCount = 1, which mean…

    …s the delegate is only retained by the SDWebImageManager and the delegate's dealloc method has a structure like the code below.
    
    
    - (void)dealloc
    {
        [manager cancelForDelegate:self];
        [super dealloc];
    }
    nonamelive committed Sep 28, 2011
Commits on Sep 21, 2011
  1. @rs

    When storeImage:imageData:forKey:toDisk: is called with toDisk:YES bu…

    …t no data, do not prevent memory caching (fix: #24)
    rs committed Sep 8, 2011
Commits on Jul 25, 2011
  1. @rs

    Merge pull request #20 from exalted/master

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

    Added UIButton+WebCache category

    exalted committed Jul 25, 2011
Commits on Jul 13, 2011
  1. @adamjernst @rs

    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 rs Jul 12, 2011
  2. @rs

    Fix some implicit conversion warnings

    rs committed Jul 13, 2011
  3. @rs

    Fix coding style

    rs committed Jul 13, 2011
  4. @siuying @rs

    Fix a leak on Mac OSX

    siuying committed with rs Jun 7, 2011
Commits on May 11, 2011
  1. Release downloader

    committed May 11, 2011
Commits on May 7, 2011
  1. @rs

    Merge pull request #12 from apptitude/master

    Low priority download mode
    rs 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
  1. @rs
Commits on Mar 17, 2011
  1. @rs

    Added Mac OS X compatibility

    Jamie Pinkham committed with rs Mar 15, 2011
Commits on Jan 25, 2011
  1. @eliog @rs

    Force retry of failed downloads

    eliog committed with rs Oct 4, 2010
  2. @rs
Commits on Jan 22, 2011
Commits on Oct 9, 2010
  1. @rs
Commits on Oct 7, 2010
  1. @rs

    Add userInfo on SDWebImageDownloader.m

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

    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.
    rs committed Oct 3, 2010