Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Dec 27, 2011
Commits on Dec 5, 2011
  1. Adam Ernst Olivier Poitrey

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

    adamjernst authored rs committed
    …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).
  2. Olivier Poitrey

    Add Xcode project

    rs authored
Commits on Nov 22, 2011
  1. Fernando Saragoça Olivier Poitrey

    Documented categories (appledoc)

    fsaragoca authored rs committed
Commits on Oct 25, 2011
  1. Olivier Poitrey

    Merge pull request #39 from 433/version_check_fix

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

    Merge pull request #37 from neogithub/patch-1

    rs authored
    Update README.md
  2. neogithub

    Update README.md

    neogithub authored
Commits on Oct 4, 2011
  1. Olivier Poitrey
  2. Olivier Poitrey

    Fix wrong options values

    rs authored
  3. Olivier Poitrey

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

    rs authored
    …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.
Commits on Oct 3, 2011
  1. Olivier Poitrey

    Merge pull request #29 from nonamelive/patch-1

    rs authored
    Fixed a potential crash when the delegate retainCount = 1, which means th
  2. Olivier Poitrey

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

    rs authored
    …ptions (low prio and retry failed) to an options: parameter
Commits on Sep 30, 2011
  1. Olivier Poitrey
Commits on Sep 28, 2011
  1. Kai

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

    nonamelive authored
    …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];
    }
Commits on Sep 21, 2011
  1. Olivier Poitrey

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

    rs authored
    …t no data, do not prevent memory caching (fix: #24)
Commits on Jul 25, 2011
  1. Olivier Poitrey

    Merge pull request #20 from exalted/master

    rs authored
    Added UIButton+WebCache category
  2. Ali Servet Donmez
Commits on Jul 13, 2011
  1. Adam Ernst Olivier Poitrey

    Fix race condition with SDWebImageManager's cancelForDelegate:

    adamjernst authored rs committed
    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.
  2. Olivier Poitrey
  3. Olivier Poitrey

    Fix coding style

    rs authored
  4. Francis Chong Olivier Poitrey

    Fix a leak on Mac OSX

    siuying authored rs committed
Commits on May 11, 2011
  1. Release downloader

    authored
Commits on May 7, 2011
  1. Olivier Poitrey

    Merge pull request #12 from apptitude/master

    rs authored
    Low priority download mode
Commits on May 6, 2011
  1. Jeppe Vesterbæk
Commits on Mar 21, 2011
  1. Olivier Poitrey
Commits on Mar 17, 2011
  1. Olivier Poitrey

    Added Mac OS X compatibility

    Jamie Pinkham authored rs committed
Commits on Jan 25, 2011
  1. Elio Gonzalez Olivier Poitrey

    Force retry of failed downloads

    eliog authored rs committed
  2. Olivier Poitrey
Commits on Jan 22, 2011
Commits on Oct 9, 2010
  1. Olivier Poitrey
Commits on Oct 7, 2010
  1. Olivier Poitrey

    Add userInfo on SDWebImageDownloader.m

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

    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.
Something went wrong with that request. Please try again.