Commit Graph

737 Commits

Author SHA1 Message Date
Takeru Chuganji 62e2320f2d make sure inmutable 2015-02-26 09:23:08 +09:00
Olivier Poitrey 17c3cf3aa0 Merge pull request #996 from harishkashyap/fix-memory-issues
Adds option to decompress images and select prefetcher Queue
2015-02-25 07:54:44 -08:00
Olivier Poitrey 0f157d4332 Merge pull request #1046 from hoppenichu/fix_downloader
Fix SDWebImageDownloader threading issue
2015-02-24 21:53:57 -08:00
Takeru Chuganji f8c7b9014c Specify Expecta Version 2015-02-25 10:50:08 +09:00
Takeru Chuganji ffa3962992 fix threading issue 2015-02-25 02:45:37 +09:00
Bogdan Poplauschi feca1e8d0d Merge pull request #987 from wantedly/fix-notification-dispatch
Fix NSNotificationCenter dispatch on subthreads.
2015-01-07 10:33:01 +02:00
Harish Krishnamurthy c59160e6da Reverts queue property to assign 2014-12-23 17:37:27 -05:00
Harish Krishnamurthy e97fea7233 Changes property of queue from weak to strong 2014-12-23 16:34:27 -05:00
Harish Krishnamurthy 4ceb6665b2 * Adds Queue options to SDWebImagePrefetcher.
* Adds option to decompress images in cache and post download.
2014-12-22 16:03:45 -05:00
Bogdan Poplauschi 21656fad68 Merge pull request #994 from initlifeinc/master
duplicate failed urls are added into failedURLs
2014-12-22 11:12:36 +02:00
Dick cded20c736 duplicate failed urls are added into failedURLs
fix bug when download image with option SDWebImageRetryFailed
2014-12-22 16:58:16 +08:00
Olivier Poitrey 0db489b32e Merge pull request #991 from sammcd/patch-1
Update README.md
2014-12-19 11:11:42 -08:00
Sam McDonald 0ae0e34642 Update README.md
Picky spelling fix.
2014-12-19 10:14:08 -08:00
Bogdan Poplauschi 6b137fb8ba Merge pull request #981 from mythodeia/master
initialise kPNGSignatureData data
2014-12-17 10:52:23 +02:00
Naoki Morita 3d3471e490 Fix NSNotificationCenter dispatch on subthreads. 2014-12-16 10:52:34 +09:00
Konstantinos K b271cbb371 initialise kPNGSignatureData data
in SDImageCache initWithNamespace method.
This ensures the kPNGSignatureData is always initialised even if the we
alloc SDImageCache without using the sharedImageCache singleton
2014-12-10 14:42:43 +02:00
Bogdan Poplauschi 6698910fe1 Revert "Loading Indicator view with 2 lines of code"
This reverts commit 2cfa5ccb88.
2014-11-06 19:59:27 +02:00
mythodeia 2cfa5ccb88 Loading Indicator view with 2 lines of code
added support for UIActivityIndicatorView while the image is
downloaded, without adding extra ‘setImageWithUrl’ methods to the
UIImageView+WebCache category.
I used [this pull
request](https://github.com/mythodeia/UIActivityIndicator-for-SDWebImage
), original author is [JJSaccolo](https://github.com/JJSaccolo), and
modded it a bit to support loading indicator while the image is
downloading.

the usage is basically this right before the usual sd_setImage...
methods:
```
        // show activity indicator
        [cell.imageView setShowActivityIndicatorView:YES];
        // choose indicator style
        [cell.imageView
setIndicatorStyle:UIActivityIndicatorViewStyleGray];
```
2014-11-06 19:26:44 +02:00
Bogdan Poplauschi afd1931c52 Updated Readme with git clone command 2014-11-06 14:20:35 +02:00
Bogdan Poplauschi 0aa9b61bcc Everything worked except the tests, trying using xcodebuild instead of xctool 2014-11-04 13:52:11 +02:00
Bogdan Poplauschi 542fc29808 Another try with Travis CI, this time no clean action, as it fails with
xcodebuild build clean
Scheme Tests is not currently configured for the clean action.
2014-11-04 13:44:45 +02:00
Bogdan Poplauschi 87384290a4 Moved all schemes to the workspace container plus created scheme for Tests 2014-11-04 12:45:04 +02:00
Bogdan Poplauschi 0b50b57c13 Reverted last change, doesn't work with Travis CI 2014-11-04 12:28:49 +02:00
Bogdan Poplauschi 55f4beade5 Updated Travis CI config, making sure xctool is installed 2014-11-04 12:22:59 +02:00
Bogdan Poplauschi ef9a2798a7 Updated Travis CI script, replaced xcpretty with xctool 2014-11-04 12:16:25 +02:00
Bogdan Poplauschi 01931d1d89 Updated libwebp reference to 0.4.2 2014-11-04 10:55:59 +02:00
Bogdan Poplauschi 914ed45a44 Merge pull request #941 from mishagray/cost_compute_fix
Cost compute fix
2014-11-02 23:55:23 +02:00
Bogdan Poplauschi b596c9c120 Merge pull request #942 from Krivoblotsky/master
'304 Not Modified' HTTP status code handling.
2014-11-02 23:52:10 +02:00
Bogdan Poplauschi 7f39e5e60e The code from SDWebImageDownloaderOperation connection:didFailWithError: should match the code from connectionDidFinishLoading:. This fixes #872 2014-11-02 23:20:16 +02:00
Bogdan Poplauschi 936f47c005 Added Travis CI configuration file 2014-11-02 22:53:45 +02:00
Bogdan Poplauschi d9d9ceedf4 Updated the Tests project after updating to CocoaPods 0.34.4 2014-11-02 22:53:32 +02:00
Bogdan Poplauschi 759f0b9a3e Merge pull request #897 from MrAlek/fix/max-concurrency-count
Increased default maxConcurrentOperationCount, fixes #527
2014-11-02 19:33:11 +02:00
Alek Åström 09b6ee941a Increased default maxConcurrentOperationCount, fixing issue #527 2014-11-02 18:06:17 +01:00
Serg Krivoblotsky 3d94e34415 304 http status code handling 2014-10-31 23:30:27 +02:00
Michael Gray dfd2e2a2f1 Merge commit '7d9337406760603ddee47d5515e1e4835618b6b2' into cost_compute_fix 2014-10-31 14:32:51 -04:00
Bogdan Poplauschi 1a3ccc2e8d Merge pull request #840 from foxling/master
fix #610 display progressive jpeg issue
2014-10-31 20:12:38 +02:00
Bogdan Poplauschi 125515d7f1 Merge pull request #876 from matias-pequeno/custom_operations
Allows user to override default SDWebImageDownloaderOperation
2014-10-31 20:08:45 +02:00
Bogdan Poplauschi a4c213ecbd Merge pull request #886 from hsoi/fix-implicit-atomicity-declaration
Fix implicit atomicity declaration of the SDWebImageManager.cacheKeyFilter
2014-10-31 20:05:25 +02:00
Bogdan Poplauschi b0ff8516ab Merge pull request #898 from mattjgalloway/xctest_async
Switch to built in XCTest async
2014-10-31 20:02:42 +02:00
Bogdan Poplauschi c3c55784cb Merge pull request #936 from flexih/master
Decoding webp, depends on source image data alpha status.
2014-10-31 20:00:55 +02:00
Bogdan Poplauschi 52b2b70abf Merge pull request #937 from pavelosipov/master
Implement 'SDWebImageDownloaderAllowInvalidSSLCertificates' option.
2014-10-31 19:59:31 +02:00
Bogdan Poplauschi 62a8ee1ab6 Fixed #774 - remove deprecated methods. Since 4.0 is a major release, we don't need the backwards compatible methods 2014-10-31 19:12:42 +02:00
Pavel Osipov 75944258f0 Implement 'SDWebImageDownloaderAllowInvalidSSLCertificates' option. 2014-10-23 17:16:28 +04:00
flexih 83ad6fa977 Decoding webp, depends on source image data alpha status. 2014-10-23 12:14:43 +08:00
Olivier Poitrey d2da4d0df4 Merge pull request #929 from kirualex/patch-2
Handle empty urls NSArray
2014-10-14 07:14:45 -07:00
Alexis Creuzot 98082a6791 Handle empty urls NSArray
In some cases the user may end up with an empty urls NSArray, in which case the completion block is never called.
This commit handle such case to call immediately the completion block (if any)
2014-10-14 11:16:58 +02:00
Bogdan Poplauschi 2233b5e77d Merge pull request #896 from skrew/master
Update UIImageView+WebCache.m
2014-09-22 22:23:19 +03:00
Bogdan Poplauschi ee3c351abd Fixed #900 by adding a new flag SD_LOG_NONE that allows silencing the SD logs from the Prefetcher 2014-09-22 22:15:45 +03:00
Matt Galloway 66a6873b2c Switch to built in XCTest async 2014-09-15 12:06:11 +01:00
eric@skrobs 54a772ebb9 Update UIImageView+WebCache.m
Can cause animation losing or crash if you are in a thread.
2014-09-12 20:03:34 +02:00