Commit Graph

903 Commits

Author SHA1 Message Date
庞博 56e2c6283c Update README.md.
Signed-off-by: 庞博 <bopang@sohu-inc.com>
2015-03-09 10:14:43 +08:00
庞博 f83abb578a Use __typeof(self) when assigning weak reference for block.
Signed-off-by: 庞博 <bopang@sohu-inc.com>
2015-03-06 16:37:38 +08:00
Olivier Poitrey 9cc8269dcd Merge pull request #1049 from hoppenichu/fix_donwloader_2
Make sure callbacksForURL won't be modified
2015-02-25 17:04:13 -08:00
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
Marius Schulz 4445bb2e47 Updates Podfile entry to v3.7 2015-02-24 10:49:22 +01:00
Evgeny Petrov 6468a92f32 allow override diskCachePath 2015-02-16 15:56:30 +03:00
Rounak dadb740c47 fixed typo
aync -> async
2015-02-10 17:54:33 +05:30
Naoki Morita ce73619640 Merge branch 'master' of github.com:rs/SDWebImage 2015-01-31 22:34:54 +09:00
Katsuma Ito 0e047941e9 Clear SDWebImagePrefetcher progressBlock when it has completed
If progressblock captures objects, captured objects remain until next SDWebImagePrefetcher works.
So, nil clear progressBlock as well as completionBlock.
2015-01-20 18:33:10 +08:00
Matt Galloway 761b00553b Make a constant for the error domain 2015-01-13 19:34:05 +00: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 22750a18b2 Merge branch 'improve-operation-behavior' 2014-12-16 12:35:44 +09:00
Naoki Morita f7a2321107 Fix typo. 2014-12-16 12:35:17 +09:00
Naoki Morita d90d115893 Fix notification name. 2014-12-16 12:24:57 +09:00
Naoki Morita 327c444322 Fix notification name. 2014-12-16 12:23:41 +09:00
Naoki Morita cd977d70a4 Improve operation behavior to get more information of it. 2014-12-16 11:48:26 +09:00
Naoki Morita 3d3471e490 Fix NSNotificationCenter dispatch on subthreads. 2014-12-16 10:52:34 +09:00
sfeng dad2a9254b Bug fix:Collection <__NSArrayM: > was mutated while being enumerated 2014-12-15 03:20:39 +08: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
Greg Hazel 9af7460f2b append the original path extension to the hash filename. closes #967 2014-12-06 13:06:29 -08: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